Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know how to modify and how to get rid of motd in general, but the problem is, that I'm not allowed to sudo on my school's server - and I'd like to get rid of a quite long motd that appears each time I ssh the machine. Is there any way to turn motd off only for my user-account without using sudo?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

I found the solution in polish wikipedia and in fact it's quite easy. The solution is to create empty ~/.hushlogin file.

share|improve this answer
1  
For reference, this is documented in the login(1) man page. –  chepner Jun 23 '12 at 19:07
    
Well... the man login on my boxes here says that the home directory is checked for the hushlogin file, but not what it is actually for. Nice find, anyway. –  DevSolar Jun 25 '12 at 8:20
add comment

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.