opensubscriber
   Find in this group all groups
 
Unknown more information…

u : ubuntu-users@lists.ubuntu.com 9 June 2012 • 1:28AM -0400

Re: update-motd not updating /etc/motd after LTS upgrade
by Helmut Schneider

REPLY TO AUTHOR
 
REPLY TO GROUP




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?!


--
ubuntu-users mailing list
ubuntu-users@list...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.