from the comp.sys.hp.hpux FAQ


Subject: 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


-----Original Message-----
From: Brutzman, Bill [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 9:39 AM
To: '[EMAIL PROTECTED]'
Subject: [U2] Preventing Unix Login


We are getting file overflow error messages on our Sales Order files and I
want to make sure that nobody can login as it is resizing.

Maybe I am overly concerned.

We are on UV 8.3.3 on HP-Unix v10.  Suggestions are welcome.

Bill Brutzman
Manager, IT
HK MetalCraft Mfg Corp
PO Box 775
35 Industrial Road
Lodi  NJ  07644-0775

973.471.7770 x145 .voice
973.471.9666 .fax

www.hkMetalCraft.com

[demime 1.01d removed an attachment of type application/octet-stream which
had a name of Brutzman, Bill.vcf]
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to