[TriLUG] to delete root, or not too?

Jason Faulkner jason at oldos.org
Tue Nov 14 09:45:58 EST 2006


> Another interesting note, is that on most *BSD systems, the root user's
> shell is csh.  This causes some pain for those people who aren't
> familiar with it, but since all the boot scripts are written in csh, and
> run with the root user's shell, you can't reasonably change it and then
> reboot the system.  So, there is another user, called 'toor', which is
> also UID 0, which has /bin/bash as it's shell.  The more astute reader
> has by no doubt already noticed that 'toor' is 'root' backwards.  This
> works quite well if you simply can't adjust to csh / tcsh as your shell
> when running as root on a *BSD box, with essentially no ill effects.
> Amusingly, you can also specify a separate password for this user,
> should you feel so inclined.

Just a note... it's not this way on OpenBSD. We have 4 oBSD boxes
running a statically compiled bash as the root shell and it works just
great. I think rc is written in /bin/sh on oBSD (3.8).


-- 
Jason Faulkner
http://oldos.org



More information about the TriLUG mailing list