Monday, 24 September 2018

linux - Can't login as root after changing permissions of /usr/bin


I changed the folder permissions of /usr/bin to 777. Now when I login to root user it shows "incorrect password".


Now I'm not able to do anything on this PC. How can I revert the permissions of /usr/bin without a terminal? I think I need to change them to 751.


I can login via CtrlAltF1, but not into root.



Answer



Boot off the install CD but dont install, mount the folder, and change the permissions back.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...