man pages section 4: File Formats

Exit Print View

Updated: July 2014
 
 

nologin(4)

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 the following users are not affected by this procedure:

  • Super-user

  • Users assigned with the root role

  • Users assigned with the solaris.system.maintenance authorization

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 (1M)