From: Nikola Milutinovic <milutinn@EUnet.yu>
Subject: Re: Ksh for root?
Date: 1999/01/09 [thread overview]
Message-ID: <3697621A.FA174922@EUnet.yu> (raw)
In-Reply-To: 3696133A.5F417493@unixcenter.ericsson.se
Hans Westerback wrote:
>
> Hi,
>
> I've noticed that on some systems root has been changed to use korn
> shell. But earlier I have heard that root should always run Bourne
> shell. Is this something that has changed in later versions? Are there
> any problems with running korn shell? What's the official view?
Officially, you should use "the most system" shell for root and those
are /bin/sh and /usr/bin/sh. The first is statically linked. The idea is
that root is the system account which is used only for system
administration.
I use ZSh on all of my machines for root, because I like it (I've had
couple of problems with it, but was able to fix them). The main argument
against using "non-Bourne shell" for root is that it may get broken.
That is why, on Digital UNIX, when in single user mode, root always gets
Bourne shell, regardless of what /etc/passwd says about it.
So, use what you like. If it starts messing things up, do: /bin/sh -c
"YOUR COMMAND" and it should be still OK.
Nix.
next prev parent reply other threads:[~1999-01-09 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-08 5:00 Ksh for root? Hans Westerback
1999-01-08 5:00 ` Waco Johnny D
1999-01-09 5:00 ` Nikola Milutinovic [this message]
1999-01-09 5:00 ` Charles M Richmond
1999-01-10 5:00 ` Tim Mooney
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox