Re: Root users shell == no existant shell /bin/bash
From: Avleen Vig (lists-freebsd_at_silverwraith.com)
Date: 07/08/04
- Previous message: Simon L. Nielsen: "Re: Root users shell == no existant shell /bin/bash"
- In reply to: Brandon Grace: "Root users shell == no existant shell /bin/bash"
- Next in thread: Peter Pentchev: "Re: Root users shell == no existant shell /bin/bash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 8 Jul 2004 08:45:48 -0700 To: Brandon Grace <brandon.grace@ntscom.com>
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) _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
- Previous message: Simon L. Nielsen: "Re: Root users shell == no existant shell /bin/bash"
- In reply to: Brandon Grace: "Root users shell == no existant shell /bin/bash"
- Next in thread: Peter Pentchev: "Re: Root users shell == no existant shell /bin/bash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|