On Fri, 2003-06-20 at 00:12, Guy Van Sanden wrote: > Hello > > How can I force the use of the root password to drop into single user > mode? > > Yesterday I discovered that my mandrake 9.1 doesn't ask the root > password when going to single user mode (from LILO). The security > profile is set to high. > > Thanks in advance > > Guy >
that's a tough one... if you think about it, you needed root privileges to issue the telinit 1 or boot from LILO (well not root, but physical access trumps root any day) in the first place, Single-user mode is password-less on every Unix I've ever met (FreeBSD, OpenBSD IIRC, Solaris, about twenty Linuces). Since you may be there to deal with a missing or corrupt /etc/passwd & /etc/shadow, not asking for the password is the difference between requiring a rescue disk and not. I think the best you can do is to set a BIOS password, a LILO password, and/or to encrypt the partition. -- Jack Coates Monkeynoodle: A Scientific Venture... http://www.monkeynoodle.org/resume.html
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
