Root users shell == no existant shell /bin/bash
Avleen Vig
lists-freebsd at silverwraith.com
Thu Jul 8 08:45:50 PDT 2004
On Thu, Jul 08, 2004 at 10:29:58AM -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.
Two ways.
su -m root will su to root but keep you currect shell etc.
boot into single user mode, and then change it.
--
Avleen Vig
Systems Administrator
Personal: www.silverwraith.com
EFnet: irc.mindspring.com (Earthlink user access only)
More information about the freebsd-security
mailing list