lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <200308220443.h7M4hjeQ009704@turing-police.cc.vt.edu>
From: Valdis.Kletnieks at vt.edu (Valdis.Kletnieks@...edu)
Subject: Idea 

On Thu, 21 Aug 2003 11:12:06 PDT, D B <geggam692000@...oo.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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 226 bytes
Desc: not available
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20030822/4558eed3/attachment.bin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ