Results 1 to 2 of 2
I think I've stupidly managed to lock myself out of the root account....
SSHd in as root, installed bash and then opened /etc/passwd to change default shell - instead of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-08-2008 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 4
Help - locked out of root account
I think I've stupidly managed to lock myself out of the root account....
SSHd in as root, installed bash and then opened /etc/passwd to change default shell - instead of saying /opt/bin/bash I set it to /bin/bash
Now I obv can't login as root to change it back- anyone got any suggestions? Could I create a link of some sort from /bin/bash to /opt/bin/bash?
Thanks in advance.
Ed Ludlow
- 10-08-2008 #2Just Joined!
- Join Date
- Jan 2007
- Posts
- 4
OK problem solved - in my confusion I still had another SSH window open, logged in as root....thank god!


Reply With Quote
