aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-04-16 08:54:59 +1200
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-04-17 23:09:04 +1200
commit486fccf2e73926a0c36c0252439c57eae96591ea (patch)
tree1724961b3a0662259d2687db20fd89d437a1d39e
parent962232bffcb176ae1b8ec6dfadc9e7ac2afd24a8 (diff)
downloadman-pages-486fccf2e73926a0c36c0252439c57eae96591ea.tar.gz
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>
-rw-r--r--man5/nologin.54
1 files changed, 2 insertions, 2 deletions
diff --git a/man5/nologin.5 b/man5/nologin.5
index d84a56667c..da55e21f27 100644
--- a/man5/nologin.5
+++ b/man5/nologin.5
@@ -23,11 +23,11 @@
.\"
.\" 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)
-.TH NOLOGIN 5 1992-12-29 "Linux" "Linux Programmer's Manual"
+.TH NOLOGIN 5 2012-04-16 "Linux" "Linux Programmer's Manual"
.SH NAME
nologin \- prevent unprivileged users from logging into the system
.SH DESCRIPTION
-If the file \fI/etc/nologin\fP exists,
+If the file \fI/etc/nologin\fP exists and is readable,
.BR login (1)
will allow access only to root.
Other users will