Upon login I get a prompt and none of the stuff from /etc/update-motd.d
Version Welcome to Ubuntu 21.10 (GNU/Linux 5.13.0-30-generic x86_64)
If I run run-parts /etc/update-motd.d/
I get the expected output - it just doesn't run automatically upon login.
I don't have $HOME/.hushlogin
configured at all.
Thanks!
bash --login
,agetty
, serial terminal or what? Readman bash
about Startup Files read the startup files to see which one does therun-parts /etc/update-motd.d/
and under what conditions. – waltinator Feb 24 '22 at 06:51/etc/pam.d/login
for local sessions or/etc/pam.d/sshd
for remote sessions) – steeldriver Feb 24 '22 at 13:41/etc/pam.d/sshd
file contains thesession optional pam_motd.so motd=/run/motd.dynamic
which doesn't exist on my system. I'll chase that down - thanks for the heads up!! – salvo Feb 25 '22 at 07:31/etc/ssh/sshd_config
to allow PAM to be triggered. Thanks for the hint!! – salvo Feb 25 '22 at 07:42