Changing root's shell

Philip Hallstrom freebsd at philip.pjkh.com
Tue Aug 8 20:12:41 UTC 2006


> so it seems changed root login's shell to /usr/bin/bash which doesn't exist. 
> now I can't login to root at all. Oh yes, sudo isn't installed. How would you 
> grand masters of FreeBSD fix my embarrasing mistake.

Boot into single user mode, then vipw the password file and change it 
back.


More information about the freebsd-questions mailing list