nologin(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | HISTORY | COLOPHON

NOLOGIN(8)             System Management Commands             NOLOGIN(8)

NAME         top

       nologin - politely refuse a login

SYNOPSIS         top


       nologin

DESCRIPTION         top

       The nologin command 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.

       To disable all logins, investigate nologin(5).

       If SSH_ORIGINAL_COMMAND is populated it will be logged.

SEE ALSO         top

       login(1), nologin(5).

HISTORY         top

       The nologin command appeared in BSD 4.4.

COLOPHON         top

       This page is part of the shadow-utils (utilities for managing
       accounts and shadow password files) project.  Information about
       the project can be found at 
       ⟨https://github.com/shadow-maint/shadow⟩.  If you have a bug
       report for this manual page, send it to
       [email protected].  This page was obtained
       from the project's upstream Git repository
       ⟨https://github.com/shadow-maint/shadow⟩ on 2023-12-22.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2023-12-15.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       [email protected]

shadow-utils 4.11.1            12/22/2023                     NOLOGIN(8)