2007-10-07 17:17:33 +05:30
. \" Title: nologin
. \" Author:
. \" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
2007-10-07 17:17:45 +05:30
. \" Date: 06/24/2006
2007-10-07 17:17:33 +05:30
. \" Manual: System Management Commands
. \" Source: System Management Commands
. \"
2007-10-07 17:17:45 +05:30
.TH "NOLOGIN" "8" "06/24/2006" "System Management Commands" "System Management Commands"
2007-10-07 17:17:22 +05:30
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
nologin \- politely refuse a login
.SH "SYNOPSIS"
.HP 8
\fB nologin\fR
.SH "DESCRIPTION"
.PP
2007-10-07 17:17:33 +05:30
2007-10-07 17:17:22 +05:30
\fB nologin\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
\fB nologin\fR (5).
.SH "SEE ALSO"
.PP
2007-10-07 17:17:33 +05:30
2007-10-07 17:17:22 +05:30
\fB login\fR (1),
\fB nologin\fR (5).
.SH "HYSTORY"
.PP
The
\fB nologin\fR
command appeared in BSD 4.4.