From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2dd1cc0659dcb87d X-Google-Attributes: gidfee84,public From: Nikola Milutinovic Subject: Re: Ksh for root? Date: 1999/01/09 Message-ID: <3697621A.FA174922@EUnet.yu>#1/1 X-Deja-AN: 430561035 Content-Transfer-Encoding: 7bit References: <3696133A.5F417493@unixcenter.ericsson.se> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@EUnet.yu X-Trace: SOLAIR2.EUnet.yu 915891334 23936 194.247.199.35 (9 Jan 1999 14:15:34 GMT) Organization: Me organized? Not here. Mime-Version: 1.0 NNTP-Posting-Date: 9 Jan 1999 14:15:34 GMT Newsgroups: comp.unix.osf.osf1 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.