I tried to use rm to format a pendrive but it also deleted everything inside my Home folder.
Now I can't even login anymore. Also, pressing shift on boot wont enter in recovery mode.
I have the ubuntu installer on a bootable pendrive, thought.
Edit: Now I can access recovery mode and login as root.
Edit 2: I don't really need to get my deleted files back, because I only had wallpapers on my account. I just want to be able to login again.
sudo passwd root, then there is no way to log in like a root. – Ruslan Gerasimov May 30 '14 at 00:57ctrl+alt+F1to change to the console (CLI). You might be able to log in still, do it now. Thensudo mkdir /home/$USERsudo chown $USER: /home/$USERShould all be done now, either press
– Ruslan Gerasimov May 30 '14 at 01:03ctrl+alt+F7to return do GDM or reboot.