I want to notify a certain user to call me, the admin, since I disabled his account. I could set /etc/issue.net
, but this is shown to all login attempts. Is there a way to restrict a message/banner to a certain user?
Ssh banner per user
loginsshsshd
Best Answer
Re-enable the user's login, but change the account's shell to a script which outputs the message and exits.