Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!psuvax1!rutgers!njin!uupsi!sunic!lth.se!bellman!leif From: leif@control.lth.se (Leif Andersson) Newsgroups: comp.unix.shell Subject: Re: tcsh for root -- ok or not? Message-ID: Date: 8 Apr 91 20:20:39 GMT References: Sender: newsuser@lth.se (LTH network news server) Distribution: comp.unix.shell Organization: Dept. Automatic Control, Lund Inst. of Technology, Sweden Lines: 27 In-Reply-To: gplan@sun9.aer.com's message of 5 Apr 91 03:01:38 GMT >>>>> On 5 Apr 91 03:01:38 GMT, gplan@sun9.aer.com (George Planansky) said: George> I'd like to use tcsh as root's shell (specified in the passwd file entry). George> Will that cause me problems? George> Should I infact stick to sh, or csh, for root? I use tcsh as root, but I also play it safe. This is an excerpt from our passwd file: root:6rqAa1yzcafwc:0:1:Operator:/:/bin/csh troot:6rqAa1yzcafwc:0:1:Operator:/usr/local/etc/root:/usr/local/bin/tcsh In this way I can almost always log in as troot and use tcsh for normal system administration. In case of trouble or in special cases I can log in as root and get csh. As you can see the uid and the password is the same. I have seen no ill effects from this. The two accounts have different home directories, because the troot home is NFS-mounted on all our workstations. Saves a lot of administration. ------------------------------------------------------------------------------- Leif Andersson Internet: leif@Control.LTH.Se Dept. of Automatic Control Bitnet: BODELA@SELDC51 Lund Institute of Technology Phone: +46 46 109742 P.O. Box 118 Fax: +46 46 138118 S-221 00 Lund, Sweden -------------------------------------------------------------------------------