Locked myself out.. AGAIN!!

Joost Bekkers joost at jodocus.org
Sun Dec 7 03:49:01 PST 2008

On Sun, December 7, 2008 11:04, Redd Vinylene wrote:
> On this dedicated box here I made the mistake of adding a comment to
> root's entry in my password file:
> root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment.
> Now I can't su to root. And my ISP is closed on Sundays. Is there any
> way I can fix this on my own?

Try `su -m` the man page says it will use your current shell instead of
the one in passwd.

good luck.


More information about the freebsd-questions mailing list