xref: /illumos-gate/usr/src/man/man5/nologin.5 (revision ce17336ed725d3b7fdff67bf0a0ee2b55018fec6)
te
Copyright (c) 1995 Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
NOLOGIN 5 "Dec 21, 1995"
NAME
nologin - message displayed to users attempting to log on in the process of a system shutdown
SYNOPSIS

/etc/nologin
DESCRIPTION

The /etc/nologin file contains the message displayed to users attempting to log on to a machine in the process of being shutdown. After displaying the contents of the nologin file, the login procedure terminates, preventing the user from logging onto the machine.

This procedure is preferable to terminating a user's session by shutdown shortly after the user has logged on.

Logins by super-user are not affected by this procedure.

The message contained in the nologin file is editable by super-user. A typical nologin file contains a message similar to:

NO LOGINS: System going down in 10 minutes.

SEE ALSO

login (1), rlogin (1), telnet (1), shutdown (8)