summaryrefslogtreecommitdiffstats
path: root/sbin/nologin/nologin.5
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/nologin/nologin.5')
-rw-r--r--sbin/nologin/nologin.510
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/nologin/nologin.5 b/sbin/nologin/nologin.5
index 8ce22a2..0b4d290 100644
--- a/sbin/nologin/nologin.5
+++ b/sbin/nologin/nologin.5
@@ -39,13 +39,19 @@
.Nm nologin
.Nd disallow logins
.Sh DESCRIPTION
-.Nm Nologin
-disallows logins if the file
+Programs such as
+.Xr login 1
+disallow logins if the file
.Pa /var/run/nologin
exists.
Programs display the contents of
.Pa /var/run/nologin
to the user and exit.
+This makes it simple to temporarily prevent incoming logins systemwide.
+.Pp
+To disable logins on a per-account basis,
+investigate
+.Xr nologin 8 .
.Sh SECURITY
Ignored by
.Xr login 1
OpenPOWER on IntegriCloud