]> git.saurik.com Git - apple/system_cmds.git/blobdiff - nologin.tproj/nologin.8
system_cmds-805.200.21.tar.gz
[apple/system_cmds.git] / nologin.tproj / nologin.8
index e2052a29542b3e6d80e0f70adbcf1a097da9f00a..04078ff77e243a922456b194d1363cb31e854b0c 100644 (file)
@@ -1,6 +1,3 @@
-.\"    $OpenBSD: nologin.8,v 1.3 1997/02/16 04:15:32 downsj Exp $
-.\"    $NetBSD: nologin.8,v 1.3 1995/03/18 14:59:09 cgd Exp $
-.\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
@@ -12,10 +9,6 @@
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\"    must display the following acknowledgement:
-.\"    This product includes software developed by the University of
-.\"    California, Berkeley and its contributors.
 .\" 4. Neither the name of the University nor the names of its contributors
 .\"    may be used to endorse or promote products derived from this software
 .\"    without specific prior written permission.
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)nologin.8  8.1 (Berkeley) 6/19/93
+.\" $FreeBSD: src/usr.sbin/nologin/nologin.8,v 1.14 2004/08/07 04:27:52 imp Exp $
 .\"
-.Dd February 15, 1997
+.Dd June 19, 1993
 .Dt NOLOGIN 8
 .Os
 .Sh NAME
 .Nm nologin
-.Nd politely refuse a login 
+.Nd politely refuse a login
 .Sh SYNOPSIS
-.Nm nologin
+.Nm
 .Sh DESCRIPTION
-.Nm Nologin
-displays a message that an account is not available and
+The
+.Nm
+utility 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
-If the file
-.Pa /etc/nologin.txt
-exists,
-.Nm nologin
-displays its contents (instead of the default message) to the user.
+To disable all logins,
+investigate
+.Xr nologin 5 .
 .Sh SEE ALSO
-.Xr login 1
+.Xr login 1 ,
+.Xr nologin 5
 .Sh HISTORY
 The
-.Nm nologin
-command appeared in
+.Nm
+utility appeared in
 .Bx 4.4 .