Cannot access system after deleting passwd file

Posted by joao rodrigo leao on Ask Ubuntu See other posts from Ask Ubuntu or by joao rodrigo leao
Published on 2012-06-07T05:52:54Z Indexed on 2012/06/07 16:47 UTC
Read the original article Hit count: 368

I was trying to change my user name and also my /home/username and my system started to crash. I deleted the passwd file but I had a backup named passwd_bkp. I tried to rename this passwd_bkp as passwd and it did not work. No commands were being executed... I was in a terminal window.

I re-started my system and now I cannot login. The GRub loads two options: Linux and recovery mode.

I tried to open a sessions as root but it says the file system is corrupted. I cannot access my files.

Did I lose all my files?

© Ask Ubuntu or respective owner

Related posts about login

Related posts about authentication