Root users shell == no existant shell /bin/bash

Simon L. Nielsen simon at FreeBSD.org
Thu Jul 8 08:42:05 PDT 2004


On 2004.07.08 10:29:58 -0500, Brandon Grace wrote:
> I made a mistake setting my shell and have set the root users shell to
> /bin/bash instead of /bin/sh. I am curiuos if anyone knows how to fix this.
> The machines is FreeBSD 4.8-RELEASE-p4 and does not have sudo only su.

Just go to single user mode [1] and correct it.

[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-init.html#BOOT-SINGLEUSER

-- 
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20040708/1778d7e3/attachment.bin


More information about the freebsd-security mailing list