TLDR
Enter a command. For example: dos2unix, grub mkconfig, top.

nologin

 
Alternative shell that prevents a user from logging in. More information: https://manned.org/nologin.5.
 
  • Set a user's login shell to nologin to prevent the user from logging in:
     
    chsh -s {{user}} nologin
     
  • Customize message for users with the login shell of nologin:
     
    echo "{{declined_login_message}}" > /etc/nologin.txt

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.