Subject: misc/6328: login(1) and /etc/nologin
To: None <gnats-bugs@gnats.netbsd.org>
From: Benjamin Lorenz <lorenz@ps.uni-sb.de>
List: netbsd-bugs
Date: 10/19/1998 01:55:34
>Number:         6328
>Category:       misc
>Synopsis:       login(1) and /etc/nologin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 18 17:05:00 1998
>Last-Modified:
>Originator:     
>Organization:
Fachbereich Programmiersysteme, Uni des Saarlandes
>Release:        current
>Environment:
System: NetBSD talo 1.3H NetBSD 1.3H (GENERIC) #0: Sat Oct 17 19:44:28 CEST 1998 root@talo:/var/src/sys/arch/i386/compile/GENERIC i386

>Description:

The login(1) manpage contains this paragraph:

     If the file /etc/nologin exists, login displays its contents to the user
     and exits.  This is used by shutdown(8) to prevent users from logging in
     when the system is about to go down.

Maybe it should be mentioned that this does not apply to the superuser?

>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted: