From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,c2e42a885db9365 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-04-05 11:12:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pc3-rdng3-3-cust212.winn.cable.ntl.COM!not-for-mail From: "Adam Price" Newsgroups: comp.unix.tru64 Subject: Re: Disabling Logins? Date: Sat, 5 Apr 2003 20:12:13 +0100 Message-ID: References: <25543d1e.0303312249.149adede@posting.google.com> <3e89ae0a@usenet01.boi.hp.com> <3e8db511@usenet01.boi.hp.com> <5Hvja.7432$1s1.108086@newsfeeds.bigpond.com> NNTP-Posting-Host: pc3-rdng3-3-cust212.winn.cable.ntl.com (80.5.159.212) X-Trace: fu-berlin.de 1049569932 7187548 80.5.159.212 (16 [138239]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1123 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 Xref: archiver1.google.com comp.unix.tru64:9814 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