From owner-freebsd-questions Sun Aug 3 13:56:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA16828 for questions-outgoing; Sun, 3 Aug 1997 13:56:23 -0700 (PDT) Received: from andrsn.stanford.edu (root@andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA16813 for ; Sun, 3 Aug 1997 13:56:19 -0700 (PDT) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.8.5/8.6.12) with SMTP id NAA06064; Sun, 3 Aug 1997 13:54:30 -0700 (PDT) Date: Sun, 3 Aug 1997 13:54:29 -0700 (PDT) From: Annelise Anderson To: Shawn Ramsey cc: Dan Busarow , bomber , questions@FreeBSD.ORG Subject: Re: bash as default In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 3 Aug 1997, Shawn Ramsey wrote: > > On Fri, 1 Aug 1997, bomber wrote: > > > pardon the newbie question, but what do i need to do to have Bash > > > as the default shell for logins (including root)? Actually if you use su -m to become root, root will have the original user's shell. The " -m " maintains environmental variables. > > > > When you run adduser for the first time it prompts you for > > default values, including the shell. Set them there and > > you are all set for future users. > > > > As for root using bash, there is a school of thought that > > root should not have a "comfortable" shell. I subscribe to > > that. But it's your machine, just run vipw and change > > root's shell if you want to. As I recall I changed root's shell once (to tcsh) and got into a bit of trouble.....I would like to know if root's shell can indeed be set to anything. If it's set to something that's not available when the machine boots in single user mode, I think there's potential for difficulty. Anneise > > Isnt "chsh username" a little easier? > >