Top Document: comp.sys.hp.hpux FAQ Previous Document: 5.1.3 How can I restrict regular users from logging in at the console? Next Document: 5.1.5 Where can I find a list of all patches corresponding to security advisories? See reader questions & answers on this topic! - Help others by sharing your knowledge Add the following to /etc/profile, then 'touch /etc/nologin'; this will disable all new logins, except by root: uid=`id -u` if [ -f /etc/nologin -a $uid -ne 0 ]; then echo "Sorry, no logins allowed; try later!" sleep 5 exit 0 fi User Contributions:Top Document: comp.sys.hp.hpux FAQ Previous Document: 5.1.3 How can I restrict regular users from logging in at the console? Next Document: 5.1.5 Where can I find a list of all patches corresponding to security advisories? Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: hpux.faq@gmail.com
Last Update March 27 2014 @ 02:11 PM
|
Comment about this article, ask questions, or add new information about this topic: