Forrest logo
back to context overview

nologin

List of commands for nologin:

  • nologin:tldr:73db6 nologin: Set a user's login shell to `nologin` to prevent the user from logging in.
    $ chsh -s ${user} nologin
    try on your machine
    explain this command
  • nologin:tldr:bc69e nologin: Customize message for users with the login shell of `nologin`.
    $ echo "${declined_login_message}" > /etc/nologin.txt
    try on your machine
    explain this command
back to context overview