Hi,
I would like to restore Debian vanilla motd functionality but it seems proxmox has somehow messed with it and I'm unsure of how to restore properly.
I have already stopped and disabled the pvebanner service:
But neither
And also
which should trigger PAM which should trigger motd.
Is something missing to restore the debian out of the box behavior?
I'm on
Thanks
I would like to restore Debian vanilla motd functionality but it seems proxmox has somehow messed with it and I'm unsure of how to restore properly.
I have already stopped and disabled the pvebanner service:
Bash:
sudo systemctl status pvebanner
● pvebanner.service - Proxmox VE Login Banner
Loaded: loaded (/lib/systemd/system/pvebanner.service; disabled; vendor preset: enabled)
Active: inactive (dead)
But neither
/etc/motd
nor the files in /etc/update-motd.d/
get executed./etc/pam.d/sshd
does look good as far as I can judge
Bash:
# Print the message of the day upon successful login.
# This includes a dynamically generated part from /run/motd.dynamic
# and a static (admin-editable) part from /etc/motd.
session optional pam_motd.so motd=/run/motd.dynamic
session optional pam_motd.so noupdate
And also
/etc/ssh/sshd_config
does contain
Bash:
UsePAM yes
which should trigger PAM which should trigger motd.
Is something missing to restore the debian out of the box behavior?
I'm on
pve-manager/7.0-10/d2f465d3 (running kernel: 5.11.22-3-pve)
Thanks