🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.question
Article #1

my ROOT is DEAD ! What am I going to do ?!

#1
From: Laurent Lathieyre
Date: Sun, 16 Sep 1990 08:19
33 lines
1707 bytes
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     =\/=
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 
Technical Details
Message-ID: <245@geocub.greco-prog.fr>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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