Date: Wed, 13 Dec 2000 10:48:49 -0500 From: mikel <mikel@ocsinternet.com> To: Doug Barton <DougB@gorean.org> Cc: "Donald J . Maddox" <dmaddox@sc.rr.com>, Daniel Bye <Daniel.Bye@uk.uu.net>, "'Cliff Sarginson'" <cliff@raggedclown.net>, questions@FreeBSD.ORG Subject: Re: Root and the C Shell Message-ID: <3A379A60.1F0391F0@ocsinternet.com> References: <Pine.BSF.4.21.0012121242430.63877-100000@dt051n37.san.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Yes this is sound advice...I agree with doug use you .profile or .login for shell changes... Doug Barton wrote: > On Tue, 12 Dec 2000, Donald J . Maddox wrote: > > > While this is obviously a good policy if you are administering many > > different platforms, it really doesn't matter that much on FreeBSD, > > does it? On FreeBSD, at entry to single-user mode, you are prompted > > for the shell path, and it always defaults to /bin/sh, right? Where > > is the great danger here? > > In not realizing that there are times and places where single user > mode is not available. I will restate my point one final time, because > frankly I have no idea what posessed me to enter into this discussion > again, since I know better. > > While YOU may never face a situation where you can't easily > recover from a borked shell, the BEST practice is to leave your > shells, for all of your accounts set to either /bin/sh or /bin/csh (i.e., > one of the shells that is built with the system) and use either .profile > or .login to exec your preferred shell if it is available. Less paranoid > solutions may very well work for you, however the above solution is the > safest, both on FreeBSD and on other platforms. > > Doug > -- > So what I want to know is, where does the RED brick road go? > > Do YOU Yahoo!? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A379A60.1F0391F0>