看板FB_security
標 題Re: Root users shell == no existant shell /bin/bash
發信站NCTU CSIE FreeBSD Server (Thu Jul 8 15:36:26 2004)
轉信站ptt!FreeBSD.csie.NCTU!not-for-mail
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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "
[email protected]"