Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "7.52 Why do I get the message "Can't start message server...""
Next document is "7.54 What is the maximum filesystem size on a 7xx, running HP-UX 9.X HP-UX 10.X?"

7.53 How can I disable new logins?

Add the following to /etc/profile; then 'touch /etc/nologin' will disable
all new login other than 'root'

   uid=`id -u`
   if [ -f /etc/nologin -a $uid -ne 0 ]; then
     echo "Sorry, no login allowed, try later!"
     sleep 5
     exit 0
   fi

(Thanks to Nils Gerloff <ng@hcs.de>)

Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "7.52 Why do I get the message "Can't start message server...""
Next document is "7.54 What is the maximum filesystem size on a 7xx, running HP-UX 9.X HP-UX 10.X?"