Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hp-sde!hpcuhb!hpcllla!hpclisp!hpclscu!shankar From: shankar@hpclscu.HP.COM (Shankar Unni) Newsgroups: comp.unix.wizards Subject: Re: Preventing users to boot VS2000 to single user Message-ID: <670030@hpclscu.HP.COM> Date: 28 Oct 88 19:49:51 GMT References: <354@eurtrx.UUCP> Organization: HP NSG/ISD California Language Lab Lines: 17 > running Ultrix. The Stations have their own system disk. I want to > prevent the users of the stations to boot their system single user. A simple trick is to prompt the user for a special password (from /etc/rc, using /dev/console for input) if booting single user. If the user cannot supply the password, reboot the system (and call security :-)). if /etc/singlepass; then # .. OK else echo "Sorry, buzz off!" /etc/shutdown # or reboot, if you're brave.. fi /etc/singlepass should read from /dev/console.. -- Shankar