Xref: utzoo unix-pc.general:6110 comp.sys.att:10453 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!andante!cbnewsm!cbnewsd!cbnewsj!cbnewsh!cbnewsc!cbnews!res From: res@cbnews.att.com (Robert E. Stampfli) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: my ROOT is DEAD ! What am I going to do ?! Summary: problems with nonstandard root shells Message-ID: <1990Sep18.214318.28538@cbnews.att.com> Date: 23 Sep 90 03:06:39 GMT References: <245@geocub.greco-prog.fr> <1070@das13.snide.com> Followup-To: poster Distribution: na Organization: AT&T Bell Laboratories Lines: 18 > > /bin/rootsh is a shell script which make an echo to warn > > that you are super-user and make /bin/ksh > > /bin/rootsh has the following access rights -rwx------ root users > > The shell script is your problem. If you aren't running 'sh' or 'ksh', whats > going to run your shell script? What you need is a 'C' program! Try this > one. ... There is still a subtle problem. You may get this to appear to work, but it is still a "non-standard shell" to su. When cron goes to run a job as root -- I bet you have plenty of "su root -c" or "su root %" lines in /usr/lib/crontab -- it will fail with "Non-standard shell - denied". The same holds true for anyone thinking of making /bin/ksh your standard root shell. Root is one account best left alone. -- Rob Stampfli / att.com!stampfli (uucp@work) / kd8wk@w8cqk (packet radio) 614-864-9377 / osu-cis.cis.ohio-state.edu!kd8wk!res (uucp@home)