Be a little clearer about the relationship between these two.
PR: docs/20067 Submitted by: Takayuki Hagihara
This commit is contained in:
parent
6e4b648b09
commit
8b434b8934
@ -39,13 +39,19 @@
|
|||||||
.Nm nologin
|
.Nm nologin
|
||||||
.Nd disallow logins
|
.Nd disallow logins
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Nologin
|
Programs such as
|
||||||
disallows logins if the file
|
.Xr login 1
|
||||||
|
disallow logins if the file
|
||||||
.Pa /var/run/nologin
|
.Pa /var/run/nologin
|
||||||
exists.
|
exists.
|
||||||
Programs display the contents of
|
Programs display the contents of
|
||||||
.Pa /var/run/nologin
|
.Pa /var/run/nologin
|
||||||
to the user and exit.
|
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
|
.Sh SECURITY
|
||||||
Ignored by
|
Ignored by
|
||||||
.Xr login 1
|
.Xr login 1
|
||||||
|
@ -46,6 +46,10 @@ displays a message that an account is not available and
|
|||||||
exits non-zero.
|
exits non-zero.
|
||||||
It is intended as a replacement shell field for accounts that
|
It is intended as a replacement shell field for accounts that
|
||||||
have been disabled.
|
have been disabled.
|
||||||
|
.Pp
|
||||||
|
To disable all logins,
|
||||||
|
investigate
|
||||||
|
.Xr nologin 5 .
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr login 1 ,
|
.Xr login 1 ,
|
||||||
.Xr nologin 5 .
|
.Xr nologin 5 .
|
||||||
|
@ -39,13 +39,19 @@
|
|||||||
.Nm nologin
|
.Nm nologin
|
||||||
.Nd disallow logins
|
.Nd disallow logins
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Nologin
|
Programs such as
|
||||||
disallows logins if the file
|
.Xr login 1
|
||||||
|
disallow logins if the file
|
||||||
.Pa /var/run/nologin
|
.Pa /var/run/nologin
|
||||||
exists.
|
exists.
|
||||||
Programs display the contents of
|
Programs display the contents of
|
||||||
.Pa /var/run/nologin
|
.Pa /var/run/nologin
|
||||||
to the user and exit.
|
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
|
.Sh SECURITY
|
||||||
Ignored by
|
Ignored by
|
||||||
.Xr login 1
|
.Xr login 1
|
||||||
|
@ -46,6 +46,10 @@ displays a message that an account is not available and
|
|||||||
exits non-zero.
|
exits non-zero.
|
||||||
It is intended as a replacement shell field for accounts that
|
It is intended as a replacement shell field for accounts that
|
||||||
have been disabled.
|
have been disabled.
|
||||||
|
.Pp
|
||||||
|
To disable all logins,
|
||||||
|
investigate
|
||||||
|
.Xr nologin 5 .
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr login 1 ,
|
.Xr login 1 ,
|
||||||
.Xr nologin 5 .
|
.Xr nologin 5 .
|
||||||
|
Loading…
Reference in New Issue
Block a user