mschorm / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone
cvsdist f0160e3
.\"	$OpenBSD: nologin.8,v 1.8 1999/06/04 02:45:19 aaron Exp $
cvsdist f0160e3
.\"	$NetBSD: nologin.8,v 1.3 1995/03/18 14:59:09 cgd Exp $
cvsdist f0160e3
.\"
cvsdist f0160e3
.\" Copyright (c) 1993
cvsdist f0160e3
.\"	The Regents of the University of California.  All rights reserved.
cvsdist f0160e3
.\"
cvsdist f0160e3
.\" Redistribution and use in source and binary forms, with or without
cvsdist f0160e3
.\" modification, are permitted provided that the following conditions
cvsdist f0160e3
.\" are met:
cvsdist f0160e3
.\" 1. Redistributions of source code must retain the above copyright
cvsdist f0160e3
.\"    notice, this list of conditions and the following disclaimer.
cvsdist f0160e3
.\" 2. Redistributions in binary form must reproduce the above copyright
cvsdist f0160e3
.\"    notice, this list of conditions and the following disclaimer in the
cvsdist f0160e3
.\"    documentation and/or other materials provided with the distribution.
cvsdist f0160e3
.\" 3. All advertising materials mentioning features or use of this software
cvsdist f0160e3
.\"    must display the following acknowledgement:
cvsdist f0160e3
.\"	This product includes software developed by the University of
cvsdist f0160e3
.\"	California, Berkeley and its contributors.
cvsdist f0160e3
.\" 4. Neither the name of the University nor the names of its contributors
cvsdist f0160e3
.\"    may be used to endorse or promote products derived from this software
cvsdist f0160e3
.\"    without specific prior written permission.
cvsdist f0160e3
.\"
cvsdist f0160e3
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
cvsdist f0160e3
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
cvsdist f0160e3
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
cvsdist f0160e3
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
cvsdist f0160e3
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
cvsdist f0160e3
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
cvsdist f0160e3
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
cvsdist f0160e3
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
cvsdist f0160e3
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
cvsdist f0160e3
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
cvsdist f0160e3
.\" SUCH DAMAGE.
cvsdist f0160e3
.\"
cvsdist f0160e3
.\"     @(#)nologin.8	8.1 (Berkeley) 6/19/93
cvsdist f0160e3
.\"
cvsdist f0160e3
.Dd February 15, 1997
cvsdist f0160e3
.Dt NOLOGIN 8
cvsdist f0160e3
.Os
cvsdist f0160e3
.Sh NAME
cvsdist f0160e3
.Nm nologin
cvsdist f0160e3
.Nd politely refuse a login
cvsdist f0160e3
.Sh SYNOPSIS
cvsdist f0160e3
.Nm nologin
cvsdist f0160e3
.Sh DESCRIPTION
cvsdist f0160e3
.Nm
cvsdist f0160e3
displays a message that an account is not available and
cvsdist f0160e3
exits non-zero.
cvsdist f0160e3
It is intended as a replacement shell field for accounts that
cvsdist f0160e3
have been disabled.
cvsdist f0160e3
.Pp
cvsdist f0160e3
If the file
cvsdist f0160e3
.Pa /etc/nologin.txt
cvsdist f0160e3
exists,
cvsdist f0160e3
.Nm
cvsdist f0160e3
displays its contents to the user instead of the default message.
cvsdist f0160e3
.Sh SEE ALSO
cvsdist f0160e3
.Xr login 1
cvsdist f0160e3
.Sh HISTORY
cvsdist f0160e3
The
cvsdist f0160e3
.Nm
cvsdist f0160e3
command appeared in
cvsdist f0160e3
.Bx 4.4 .