[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Single Page
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?
-
Search the FAQ Archives
Single Page
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?
5.1.4 How can I disable non-root logins?
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
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 | Search | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
hpux.faq@gmail.com
Last Update August 21 2008 @ 00:12 AM