Xref: utzoo comp.sys.att:10399 unix-pc.general:6068 Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!yale!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!inria!geocub!geocub.greco-prog.fr!lath From: lath@geocub.greco-prog.fr (Laurent Lathieyre) Newsgroups: comp.unix.question,comp.sys.att,unix-pc.general Subject: my ROOT is DEAD ! What am I going to do ?! Message-ID: <245@geocub.greco-prog.fr> Date: 16 Sep 90 08:19:15 GMT Sender: lath@geocub.greco-prog.fr Organization: University of Bordeaux I - FRANCE Lines: 33 MIDAY - SOS - HELP - ...---...---...---...---...---...--- I use an ATT 3b1 running Unix 3.51m. Yesterday I tried to change the default shell of the root user, so I modified the last field of the line concerning root in /etc/passwd (replacing /bin/sh by /bin/rootsh) /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 :-( I can't anymore log in under root account... % su makes the following err mesage "No shell" % su root -c ls -l makes "Non-standard shell - denied" According to su(1) it seems possible to not use the shell indicated in /etc/passwd but the standard shell (/bin/sh) to execute a command... but I can't manage... What could I do ? To pray UnixGod that the redemption for silly administrators arrives ? :-( bouhhhh bouuuhh ouuhhhhoouuuuuu (i.e. french crybaby onomatopoeia) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- !\/! It's !\/! | Laurent Lathieyre | (oo) Better (o-) | E-mail : lath@geocub.greco-prog.fr | =\/= Manually =\/= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-