nologin(5) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

nologin(5)

nologin(5)                       File Formats                       nologin(5)



NAME
       nologin - file to restrict logins to a system

SYNOPSIS
       /etc/nologin

DESCRIPTION
       If the /etc/nologin file exists, it restricts logins to a system. After
       displaying the contents of the nologin file, the login procedure termi‐
       nates, preventing the user from logging onto the machine.


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


       Logins by the following users are not affected by this procedure:

           o      Super-user


           o      Users assigned the root role


           o      Users assigned the solaris.system.maintenance authorization



       The message contained in the nologin file is editable by  a  super-user
       or  a user with the "Maintenance and Repair" rbac(7) profile. A typical
       nologin file contains a message similar to:

         NO LOGINS: System going down in 10 minutes.



       The nologin file may be manually created by a system administrator when
       doing  maintenance,  or it may be automatically created, such as by the
       shutdown(8) command, by init(8) when transitioning to single user mode,
       or by the system when recovering a deferred dump.


       The  svc:/system/rmtmpfiles  service  will  remove any existing nologin
       file during system boot.

SEE ALSO
       login(1),         pam_acct_mgmt(3PAM),          pam_sm_acct_mgmt(3PAM),
       pam_unix_account(7), init(8), shutdown(8)

HISTORY
       Support  for /etc/nologin was present in SunOS 4.x releases, but not in
       Solaris 2.x releases until it was added in Solaris 2.5.



Oracle Solaris 11.4               21 Jun 2021                       nologin(5)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3