Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I really liked the welcome motd message that gets displayed when I logged in as root into my vps ubuntu 10.04 server.

It displays statistics like uptime and systemload and packages to update.

However, I secured my server and now only allow normal users to login to it via ssh. The MOTD for these users does not display all these statistics... How can I get that for normal users too?

share|improve this question

1 Answer 1

Make sure that the pam_motd module is loaded via /etc/pam.d/ssh

# Print the message of the day upon successful login.
session    optional     pam_motd.so # [1]
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.