[ale] Scriptable motd for initial SSH login?
James Sumners
james.sumners at gmail.com
Wed Sep 14 14:02:36 EDT 2011
I asked the question at [1], but have not had any decent answers. I
want to setup a "motd" for a specific user such that when that user
logs in via SSH, the motd is executed and displayed. The script should
_only_ run when the user logs in via SSH and not via a subsequent
login. That is, if the user starts `screen` after logging in, the motd
should not be shown for that screen instance, nor any subsequent
screens.
Any suggestions?
[1] -- http://serverfault.com/questions/310596/custom-motd-for-a-specific-user-after-logging-in-via-ssh
--
James Sumners
http://james.roomfullofmirrors.com/
"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
More information about the Ale
mailing list