Date: Fri, 13 Oct 2000 16:11:40 -0700 From: Robert Shea <robert.shea@onlinecables.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: changing root shell?? Message-ID: <00101316304203.17386@mephistopheles.onlinecables.net> In-Reply-To: <Pine.LNX.4.10.10010131738510.15143-100000@mail.cafes.net> References: <Pine.LNX.4.10.10010131738510.15143-100000@mail.cafes.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Oct 2000, Mike Eldridge wrote: > On Fri, 13 Oct 2000 media@mail1.nai.net wrote: > > I thought I was running sh. For some stupid reason I though sh was the > > default Unix shell. Maybe I should stop using a kerosene heater and wear a > > helmet. As it turns out, root is csh. I've been entering commands with sh > > syntax all along. I haven't received any syntax errors. Does this mean I > > could have trashed my system without knowing it?? > The odds are very very slim, especially considering that you received no syntax errors that you have damaged your system at all. > I'm not sure about FreeBSD (since I haven't gotten it installed on my > alpha yet, so assume me to be a freebsd newbie =P), but under Linux > (redhat at least), /bin/sh is a symbolic link to /bin/bash. I don't like > the c shell, and recommend that you use bash. > Linux users and their bash, an infatuation I have never understood ;) <snip> > > I have heard that you should not change your root shell. However, sh seems > > to be in /bin on the root filesystem. So I don't see how that would cause > > problem. How would I go about changing it?? I'd also like to change my > > default editor (as I find vi very cumbersome). The book refers to editing > > files, but I can't seem to find which files I'm supposed to edit. > Changing your root shell to sh is fine. Just try and avoid stuff on /usr without a damn good reason, and knowledge of the consequences. A basic way to change your default editor is with sysinstall. Ya know... all of this talk about changing root shells (again) has led me to believe that the litrature that comes with fbsd, linux, etc just doesn't make one thing clear enough to new unix users.... Root is only to be used for select sys admin duties... not for browsing the web, or playing quake, or editing graphics or whatever else... sheesh. *gets off the soapbox* Robert Shea "Shine yo shoes gov'na?" 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?00101316304203.17386>