From owner-freebsd-advocacy Mon Jul 26 5:42:11 1999 Delivered-To: freebsd-advocacy@freebsd.org Received: from fed-ef1.frb.gov (fed.frb.gov [132.200.32.32]) by hub.freebsd.org (Postfix) with ESMTP id 5C8FC15331 for ; Mon, 26 Jul 1999 05:42:07 -0700 (PDT) (envelope-from seth@freebie.dp.ny.frb.org) Received: by fed-ef1.frb.gov; id IAA11984; Mon, 26 Jul 1999 08:41:41 -0400 (EDT) Received: from m1pmdf.frb.gov(192.168.3.38) by fed.frb.gov via smap (V4.2) id xma011916; Mon, 26 Jul 99 08:41:34 -0400 Date: Mon, 26 Jul 1999 08:41:30 -0400 (EDT) From: Seth Subject: Re: What to tell to Linux-centric people?! In-reply-to: <37991278.5324A70B@uswest.net> To: Summoner Cc: John Armstrong , freebsd-advocacy@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-advocacy@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Don't know whether this has been addressed yet, but it seems to have bitten a LOT of people. Changing root's default shell is not a very good idea unless you're aware of the ramifications. Let's assume you DO have a need to change it (to bash, or zsh, or whatever). Here are things you absolutely must make sure of: 1) That the shell is listed in /etc/shells. Failure to do this will prevent that shell from being executed on login. 2) That the shell is statically linked! This is a MUST. In the event that you find your shared libraries hosed, you will not be able to execute any program that requires the use of those (damaged) shared libs. A statically linked shell will not have dependencies on any shared libs. 3) Also, be aware of the 'toor' account and make sure you have a valid, known password for it. Don't change toor's shell, and use it as a backup in case you have problems w/ root. Hope this helps. I've seen at least 3 people in the last couple weeks have problems because they failed to take into account one or more of these issues. SB On Fri, 23 Jul 1999, Summoner wrote: > John Armstrong wrote: > > Just make sure > > root always has a base sh shell for emergencies and your set. > > Excuse my newbieness, but why should I have sh for root? So that if > when screw over my installation again I still have a shell for single > user mode and (hopefully) fix things? Or does base shell mean > something else? > > My US$.019: I grew up on Bourne-style shells, I'm used to interactive > command-line editting. So it was key for my learning FreeBSD to use > bash. I don't need colour, never did. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-advocacy" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-advocacy" in the body of the message