eludlow
October 8th, 2008, 09:59 AM
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 :oops:
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
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 :oops:
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