shadow/man/nologin.8

31 lines
919 B
Groff
Raw Normal View History

.\" ** You probably do not want to edit this file directly **
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
.TH "NOLOGIN" "8" "01/07/2006" "System Management Commands" "System Management Commands"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
nologin \- politely refuse a login
.SH "SYNOPSIS"
.HP 8
\fBnologin\fR
.SH "DESCRIPTION"
.PP
\fBnologin\fR
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
\fBnologin\fR(5).
.SH "SEE ALSO"
.PP
\fBlogin\fR(1),
\fBnologin\fR(5).
.SH "HYSTORY"
.PP
The
\fBnologin\fR
command appeared in BSD 4.4.