update-motd not updating /etc/motd after LTS upgrade
Helmut Schneider
jumper99 at gmx.de
Fri Jun 8 17:28:53 UTC 2012
Marius Gedminas wrote:
> > I have a few scripts within /etc/update-motd.d/, e.g.
> >
> > #!/bin/sh
> > unset PATH
> > /usr/bin/printf "%s\n%s\n\n" "Uptime/Load:" "$(/usr/bin/uptime)"
> >
> > While on 10.04 and on a fresh installation of 12.04 this script
> > works fine, on two upgraded machines from 10.04 to 12.04 /etc/motd
> > is not updated. If I remove /etc/motd (/var/run/motd) it is not even
> > re-created at all.
> >
> > What can I futher check?
>
> Your PAM configuration?
Thanks. That helps^Wexplains. Being a conscientious administrator
allowing only certificates to logon via ssh I set "UsePAM no" in
sshd_config. So if I want (useful) information at logon I need to lower
shields?!
More information about the ubuntu-users
mailing list