Problem:
The following text is shown for all non-root users when logging in via SSH:
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Configuration:
My
/etc/ssh/sshd_configincludes:PrintMotd no PrintLastLog noPrintMotd noandPrintLastLog noare overriden by PAM in/etc/pam.d/sshdsession optional pam_motd.so session optional pam_lastlog.so never showfailed/var/run/motdis symlinked to/etc/motd:/etc/motd -> /var/run/motdThe folder
/etc/update-motd.d/is empty!
Question:
How can I disable the display of the above notice for non-root users?