看板FB_security
標 題Re: Root users shell == no existant shell /bin/bash
發信站NCTU CSIE FreeBSD Server (Thu Jul 8 15:47:04 2004)
轉信站ptt!FreeBSD.csie.NCTU!not-for-mail
--tjCHc7DPkfUGtrlw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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 thi=
s.
> 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.htm=
l
#BOOT-SINGLEUSER
--=20
Simon L. Nielsen
FreeBSD Documentation Team
--tjCHc7DPkfUGtrlw
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA7WtKh9pcDSc1mlERAkjgAKCzCDE2ihWRqhkwG/FV7F84y+DYTACgvR3I
jkoMJi7+BcM0dkdJfkxH6R4=
=P0NZ
-----END PGP SIGNATURE-----
--tjCHc7DPkfUGtrlw--