mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Be a little clearer about the relationship between these two.
PR: docs/20067 Submitted by: Takayuki Hagihara
This commit is contained in:
parent
cfcae32408
commit
7ba45ea98d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68640
|
@ -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
|
||||
|
|
|
@ -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 .
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 .
|
||||
|
|
Loading…
Reference in a new issue