Seeing access-Your-Private-Data.desktop probably just means you had an encrypted home directory, which will make recovery a bit more complicated IF the data didn't get deleted with the account
I would suggest you create a new user account with administrator priviledges then you can log in to a graphical environment with that which will make the recovery easier for you.
I'm a bit lost with what's going on in this thread but basically once you are in the recovery mode and have dropped to a root shell you can do the following. There is no need to directly edit the /etc/passwd file to do this.
1. remount the filesystem with write permissions - if you've done an fsck it may already be read-write but this command won't hurt either way:
Code:
mount -o remount,rw /
[note there is NO SPACE between the rw and remount options - just a comma]
2. create a new user:
and just follow the on screen prompts
3. add the user to the sudo group
Code:
usermod -aG sudo newuser
If you plan on keeping the newuser as a regular administrator account you will probably want to add it to all the other typical groups i.e.
Code:
usermod -aG adm,cdrom,sudo,dip,plugdev,lpadmin,sambashare newuser
At that point you should be able to exit the root shell
and resume normal boot, where you can log in via the GUI as newuser
Bookmarks