From owner-freebsd-security@FreeBSD.ORG Thu Jul 8 15:42:05 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABA5316A4CE for ; Thu, 8 Jul 2004 15:42:05 +0000 (GMT) Received: from eddie.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27A7943D3F for ; Thu, 8 Jul 2004 15:42:05 +0000 (GMT) (envelope-from simon@eddie.nitro.dk) Received: by eddie.nitro.dk (Postfix, from userid 1000) id AE70811811; Thu, 8 Jul 2004 17:42:03 +0200 (CEST) Date: Thu, 8 Jul 2004 17:42:03 +0200 From: "Simon L. Nielsen" To: Brandon Grace Message-ID: <20040708154202.GB19685@eddie.nitro.dk> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i cc: freebsd-security@freebsd.org Subject: Re: Root users shell == no existant shell /bin/bash X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 15:42:05 -0000 --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--