tcsh for root -- ok or not?

Julian Dermoudy dermoudy at sol.surv.utas.edu.au
Wed Apr 10 10:18:45 AEST 1991


moore at srl.mew.mei.co.jp (W. Phillip Moore) writes:


>Jonathan> I see no problem with this (we do it here).  Make sure your tcsh
>Jonathan> binary is in /etc/shells, though.

>That and make sure the binary is local, not accessed by NFS.  One nearby
>site made the error of make /usr/local/bin/bash the root shell.  Fine,
>except that /usr/local is a shared NFS directory.  When the NFS server was
>down, he couldn't login as root.

>On our system, all shells are in /bin.  

If I'm not mistaken, saying that "the binary is local" is an understatement.
In fact, root's shell should be on either the root partition or the /usr
partition, because (atleast on Suns) when you boot singleuser these are the
only partitions mounted.

I'm unsure what will happen if root's shell isn't on one of these partitions,
you would certainly get the "No Shell" error message (or similar) but whether
it would default to the Bourne shell or simply log you off again, I wouldn't
know.

						-Julian.
--
  Julian Dermoudy			AARNet: J.R.Dermoudy at censis.utas.edu.au
  Centre for Spatial Info. Studies,	'Phone: +61 02 202108
  University of Tasmania,		Fax   : +61 02 240282
                GPO Box 252C Hobart, Tasmania, AUSTRALIA, 7001.



More information about the Comp.unix.shell mailing list