New answers tagged login-script
If you want to customize the message but not per-user you can use nologin, meaning re-enabling users account but assigning them /usr/bin/nologin as their login shell. They will not be able to connect and receive a default message saying the account is disabled or the message written in /etc/nologin.txt. If you want a per-user message you can replace nologin ...
Top 50 recent answers are included