From: "Adam Price" <adam+usenet@pappnase.co.uk>
Subject: Re: Disabling Logins?
Date: Sat, 5 Apr 2003 20:12:13 +0100 [thread overview]
Message-ID: <b6n9qc$6rb2s$1@ID-138239.news.dfncis.de> (raw)
In-Reply-To: 5Hvja.7432$1s1.108086@newsfeeds.bigpond.com
TyBreaker wrote:
> Ann Majeske wrote:
> > The easiest way to prevent all logins to the system for a period of
> > time is to just create the file /etc/nologin. Nobody can login
> > while this file exists.
>
> Ah, this rings a bell! I've never actually tried it but will give it
> a go. Hmm, better not log out of root while testing that lol!
>
/etc/nologin does not affect root.
See the man page for login for details.
Adam
prev parent reply other threads:[~2003-04-05 19:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-01 6:49 Disabling Logins? TyBreaker
2003-04-01 15:09 ` Ann Majeske
2003-04-04 11:10 ` TyBreaker
2003-04-04 16:28 ` Ann Majeske
2003-04-05 8:43 ` TyBreaker
2003-04-05 19:12 ` Adam Price [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox