From owner-freebsd-security@FreeBSD.ORG Thu Jul 8 15:45:50 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 3D9BA16A4CE for ; Thu, 8 Jul 2004 15:45:50 +0000 (GMT) Received: from areandor.numenor.net (areandor.numenor.net [69.55.237.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B7BB43D48 for ; Thu, 8 Jul 2004 15:45:50 +0000 (GMT) (envelope-from lists-freebsd@silverwraith.com) Received: from [69.55.228.10] (helo=keylime.silverwraith.com) by areandor.numenor.net with esmtp (TLSv1:RC4-SHA:128) (Exim 3.36 #1) id 1Bib5p-0006jr-00 for freebsd-security@freebsd.org; Thu, 08 Jul 2004 08:45:49 -0700 Received: from keylime ([69.55.228.10] helo=keylime.silverwraith.com) by keylime.silverwraith.com with esmtp (Exim 4.34; FreeBSD) id 1Bib5o-0005Yp-Uy; Thu, 08 Jul 2004 08:45:49 -0700 Received: (from avleen@localhost)i68Fjm6O021376; Thu, 8 Jul 2004 08:45:48 -0700 (PDT) (envelope-from lists-freebsd@silverwraith.com) X-Authentication-Warning: keylime.silverwraith.com: avleen set sender to lists-freebsd@silverwraith.com using -f Date: Thu, 8 Jul 2004 08:45:48 -0700 From: Avleen Vig To: Brandon Grace Message-ID: <20040708154548.GU5238@silverwraith.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Spam-Score: -100.0 (---------------------------------------------------) X-Spam-Report: Spam detection software, running on the system "keylime.silverwraith.com", hasmessageblock similar future email. If you have any questions, see the administrator of that system for details.Graceusers shell to > /bin/bash instead of /bin/sh. I am curiuos if anyone knows not have sudo only su. [...] Content analysis details: (-100.0 points, 5.0 required) pts rule name description -------------------------------------------------- -100 USER_IN_WHITELIST From: address is in the user's white-list 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:45:50 -0000 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)