Full Disclosure mailing list archives
Re: Idea
From: Valdis.Kletnieks () vt edu
Date: Fri, 22 Aug 2003 00:43:44 -0400
On Thu, 21 Aug 2003 11:12:06 PDT, D B <geggam692000 () yahoo com> said:
install the services .... get them configured ...remove all booting hardware except the drive .... then change the roots shell to /bin/false and and remove all working shells from the OS
Hmm.. Gonna be fun the next reboot, if *anything* in /etc/rc* is still a shell script. In fact, I just checked - Solaris, AIX, IRIX, and RedHat Linux will *all* fail to get even as far as single-user mode, because in /etc/inittab we have: Solaris: fs::sysinit:/sbin/rcS sysinit AIX: brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 # Phase 3 of system boot IRIX: mt::sysinit:/etc/brc </dev/console >/dev/console 2>&1 RedHat: si::sysinit:/etc/rc.d/rc.sysinit /sbin/rcS, /sbin/rc.boot, /etc/brc, and /etc/rc.d/rc.sysinit are all shell scripts. Tru64 *will* make it as far single-user mode, but won't make it to runlevel 2 or 3: Tru64: s2:23:wait:/sbin/rc2 < /dev/console > /dev/console 2>&1 And of course, single-user mode won't be very useful without a shell for root.
Attachment:
_bin
Description:
Current thread:
- Idea D B (Aug 21)
- Re: Idea Irwan Hadi (Aug 21)
- Re: Idea Valdis . Kletnieks (Aug 21)
- <Possible follow-ups>
- RE: Idea Joshua Thomas (Aug 21)
- RE: Idea Steven Alexander (Aug 21)
- Pinging... And lots of it.. Calvyn (Aug 21)
- Re: Pinging... And lots of it.. Paul Schmehl (Aug 21)
- RE: Pinging... And lots of it.. ViLLaN (Aug 21)
- Pinging... And lots of it.. Calvyn (Aug 21)
- RE: Idea Schmehl, Paul L (Aug 21)