summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/nologin/nologin.510
-rw-r--r--sbin/nologin/nologin.84
-rw-r--r--usr.sbin/nologin/nologin.510
-rw-r--r--usr.sbin/nologin/nologin.84
4 files changed, 24 insertions, 4 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
diff --git a/sbin/nologin/nologin.8 b/sbin/nologin/nologin.8
index d5f4cb7..64b4101 100644
--- a/sbin/nologin/nologin.8
+++ b/sbin/nologin/nologin.8
@@ -46,6 +46,10 @@ displays a message that an account is not available and
exits non-zero.
It is intended as a replacement shell field for accounts that
have been disabled.
+.Pp
+To disable all logins,
+investigate
+.Xr nologin 5 .
.Sh SEE ALSO
.Xr login 1 ,
.Xr nologin 5 .
diff --git a/usr.sbin/nologin/nologin.5 b/usr.sbin/nologin/nologin.5
index 8ce22a2..0b4d290 100644
--- a/usr.sbin/nologin/nologin.5
+++ b/usr.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
diff --git a/usr.sbin/nologin/nologin.8 b/usr.sbin/nologin/nologin.8
index d5f4cb7..64b4101 100644
--- a/usr.sbin/nologin/nologin.8
+++ b/usr.sbin/nologin/nologin.8
@@ -46,6 +46,10 @@ displays a message that an account is not available and
exits non-zero.
It is intended as a replacement shell field for accounts that
have been disabled.
+.Pp
+To disable all logins,
+investigate
+.Xr nologin 5 .
.Sh SEE ALSO
.Xr login 1 ,
.Xr nologin 5 .
OpenPOWER on IntegriCloud