Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2004 17:42:03 +0200
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        Brandon Grace <brandon.grace@ntscom.com>
Cc:        freebsd-security@freebsd.org
Subject:   Re: Root users shell == no existant shell /bin/bash
Message-ID:  <20040708154202.GB19685@eddie.nitro.dk>
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAQalskDVfo0WQ/a0WxfyYA8KAAAAQAAAAHZLwubL1IEW8iaIucc4elAEAAAAA@ntscom.com>
References:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAQalskDVfo0WQ/a0WxfyYA8KAAAAQAAAAHZLwubL1IEW8iaIucc4elAEAAAAA@ntscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040708154202.GB19685>