Hi, On Mon, Jan 17, Felix Miata wrote:
What's the secret to seeing only one MOTD when logging in? I have /etc/motd that says what I want said. /etc/motd.d/ is empty. How do I stop it from being followed on the following line by the "Have a lot of fun..." openSUSE default? man motd seems to say if /etc/motd exists, no other should be used, but it's unclear to me. It seems to me if /etc/motd exists that /usr/lib/motd.d/* should be ignored. Is this a bug
It sounds as if you did read the motd manual page, so why do you not follow the explanation in it how to disable messages coming from /usr/lib/motd.d/* ? There are two ways documented: overwriting single files from /usr/lib/motd.d/ or adjusing the pam_motd config... There are even examples how to do that. /etc/motd wins before /run/motd and /usr/lib/motd, it does not disable motd.d! So please read the full manual page and don't stop at some random lines. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany Managing Director: Ivo Totev (HRB 36809, AG Nürnberg)