Re: [ILUG] Re:

From: Brian Scanlan (singer at domain redbrick.dcu.ie)
Date: Wed 17 Nov 1999 - 12:26:57 GMT


On Wed, Nov 17, 1999 at 12:01:45PM +0000, Nick Hilliard wrote:
> > Dumb question...I'd like to change the login shell for root on a Solaris
> > box from sh to tcsh...how would I do this??
>
> But, if you're convinced that it's the best way to go, and that it's not
> going to have any odd side-effects, the way to do it is to change root's
> entry in /etc/passwd.

No! Follow advise of others on this list. Just don't do it.
Dave's advise of another user with UID 0 with another shell is
a good way to go.

Why not change roots shell from sh?
Well, as said by somebody else, maybe some scripts run by
root won't take too kindly to be run by tcsh. I don't know whether
they will or not. Also, let's say /usr is mounted elsewhere, and
you find yourself with with a non-statically
linked shell as roots shell right after /usr thrashed itself...

-- 
"As with most of my theories, this one doesn't hold up to close
scrutiny, but it's surprisingly resilient to casual criticism."


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:55 GMT