To keep users other than root from being able to login do the following:

1. login as root
2. touch /etc/nologin
3. vi /etc/nologin.txt (put in this file the message you want displayed,
otherwise users may just think that they forgot their passwd)

this is how linux works, other flavors of unix either do the same or
something similar

dougc


Doug Chanco
Ultimate Product Development
(800) 678-5266 ext 5426 
1-512-278-5426 (Direct)
[EMAIL PROTECTED]
www.activant.com
 
 
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Lewis
Sent: Friday, May 21, 2004 12:24 PM
To: [EMAIL PROTECTED]
Subject: RE: [U2] Preventing Unix Login

Don't most flavors of unix support the /etc/nologin file?  The contents
of that file will be displayed instead of the usual 'Login please'
prompt to telnet connections, as well as preventing logins, except from
root.  Try 'man login' from your unix shell prompt for more info.  Just
setup the file as /etc/nologin.bak or something, then rename it at the
appropriate time, get everyone off, resize, rename the file back.



Richard B. Lewis

Sr. Software Engineer



Dynix

[EMAIL PROTECTED]

p 801-223-5392

f  801-223-5202

www.dynix.com <http://www.dynix.com/>


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Friday, May 21, 2004 10: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


Notice: This transmission is for the sole use of the intended recipient(s) and may 
contain information that is confidential and/or privileged.  If you are not the 
intended recipient, please delete this transmission and any attachments and notify the 
sender by return email immediately.  Any unauthorized review, use, disclosure or 
distribution is prohibited.
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to