From owner-freebsd-questions Wed Jul 7 15:38:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gershwin.tera.com (gershwin.tera.com [207.224.230.28]) by hub.freebsd.org (Postfix) with ESMTP id 821D814BFC for ; Wed, 7 Jul 1999 15:38:43 -0700 (PDT) (envelope-from kline@tera.com) Received: from athena.tera.com (athena.tera.com [207.224.230.169]) by gershwin.tera.com (8.8.8/8.8.8) with ESMTP id PAA26578; Wed, 7 Jul 1999 15:38:41 -0700 (PDT) Received: (from kline@localhost) by athena.tera.com (8.7.5/8.7.3) id PAA18173; Wed, 7 Jul 1999 15:38:40 -0700 (PDT) Date: Wed, 7 Jul 1999 15:38:40 -0700 From: Gary Kline To: BSD Journal - general Cc: "Sloan, Kyle" , "'Reinoud Koornstra'" , freebsd-questions@FreeBSD.ORG Subject: Re: standard shell. Message-ID: <19990707153840.A18138@athena.tera.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95us In-Reply-To: ; from BSD Journal - general on Wed, Jul 07, 1999 at 04:54:41PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jul 07, 1999 at 04:54:41PM +0000, BSD Journal - general wrote: > Uh, no. First of all, you really shouldnt do your every-day stuff as root, > ie games, etc. Second of all, you do NOT edit the password file manually > nor is it called /etc/password. > > If you absolutely have to change the shell, use vipw. > > -Patrick > > On Wed, 7 Jul 1999, Sloan, Kyle wrote: > > > Try /etc/password. > > > > Be cautious of where you install bash though. It usually installs into > > /usr/local/bin, which may not be available in the event of a system crash. > > > > You could set the password for the toor account, and leave its shell as > > /bin/sh to get around this. > > > > Kyle Sloan > > Data Communications Engineer > > Oklahoma City Operations > > Bell & Howell Information & Learning > > > > > > -----Original Message----- > > From: Reinoud Koornstra [mailto:Reinoud.Koornstra@ibbnet.nl] > > Sent: Wednesday, July 07, 1999 4:22 PM > > To: Val Kilmer > > Cc: Reinoud Koornstra; freebsd-questions@FreeBSD.ORG > > Subject: standard shell. > > > > > > Dear Folks, > > > > In what file can i tell what the standard shell for the root user is? > > I installed bash2 and want it as standard shell. > > Bye, > > > > Reinoud. > > It's nice that more and more general info of this nature is getting out there. Anyone who is new to *BSD might check the AnswerMan column in DaemonNews. There was a write-up on exactly this (root/toor/shells, &c) recently. www.daemonnews.org gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message