I have a problem that "corrupted" my user, let's call it olduser
. I got stuck in the login screen and nothing I tried could fix it.
Luckily I had backups, but I didn't need them because the files are still all there.
The only way to login was through a new user newuser
. But all my aliases and mounting places are on olduser
or pointing to it (aliases). Also my ssh
points to olduser
.
For example, my other partitions are on /media/olduser/
, aliases point to /home/olduser/Desktop/
.
So,
My question is: how can I rename olduser
to foo or whatever so that then I can rename newuser
to olduser
?
If you are curious, here is my problem and some of the solutions I tried:
Unity doesn't load, no Launcher, no Dash appears
What to do when nothing seems to fix Ubuntu 14.10 stuck after log in?
My goal is to have the new user have the name of the old one, without deleting the old user.
Or will this move the old user's files to an uncorrupted user?
– Ed Nicara Nov 07 '15 at 20:36find
to chmod all files of old user to new user. I am running out of battery on my laptop so more detailed answer will come later. Let me know if you have any further questions – Sergiy Kolodyazhnyy Nov 07 '15 at 20:46