That's kinda true and that's why I love unix.

 -----Original Message-----
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]  On Behalf Of Jeff Schasny
Sent:   Friday, May 21, 2004 2:11 PM
To:     [EMAIL PROTECTED]
Subject:        [OT] RE: [U2] Preventing Unix Login

The number of varying methodologies presented in answer to this question
reminded me of a quote I read somewhere years ago regarding Unix:  "Its not
really an operating system, its more like a kit that can be used to build
one"

-----Original Message-----
From: Anthony Dzikiewicz [mailto:[EMAIL PROTECTED]

One flavor of unix we ran looked for an /etc/nologin file.  If it existed,
it would print the contents of the message and not allow you to login.  When
we moved off that particular unix, we lost that functionality.  This is a
nice thing to have for reasons like you speak of.  So, we put a statement in
the users .profile as such;
if
   test -r /etc/nologin
then
   cat /etc/nologin
   exit
fi

[snip]
-------
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