Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.