Alternative shell that prevents a user from logging in. Set…
Alternative shell that prevents a user from logging in.
nologin
to prevent the user from logging in:chsh -s {{user}} nologin
nologin
:echo "{{declined_login_message}}" > /etc/nologin.txt