nologin.5: nologin must not only exist, but *be readable* to be effective

Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-04-16 08:54:59 +12:00
parent 962232bffc
commit 486fccf2e7
1 changed files with 2 additions and 2 deletions

View File

@ -23,11 +23,11 @@
.\" .\"
.\" Modified Sun Jul 25 11:06:34 1993 by Rik Faith (faith@cs.unc.edu) .\" Modified Sun Jul 25 11:06:34 1993 by Rik Faith (faith@cs.unc.edu)
.\" Corrected Mon Oct 21 17:47:19 EDT 1996 by Eric S. Raymond (esr@thyrsus.com) .\" Corrected Mon Oct 21 17:47:19 EDT 1996 by Eric S. Raymond (esr@thyrsus.com)
.TH NOLOGIN 5 1992-12-29 "Linux" "Linux Programmer's Manual" .TH NOLOGIN 5 2012-04-16 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
nologin \- prevent unprivileged users from logging into the system nologin \- prevent unprivileged users from logging into the system
.SH DESCRIPTION .SH DESCRIPTION
If the file \fI/etc/nologin\fP exists, If the file \fI/etc/nologin\fP exists and is readable,
.BR login (1) .BR login (1)
will allow access only to root. will allow access only to root.
Other users will Other users will