Super User is a question and answer site for computer enthusiasts and power users. 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 want suppress the message showed up each time on login:

Debian GNU/Linux 6.0 <ip-addr> tty1
<ip-addr> login:

Does someone know where is the config to change it?


to suppress <ip-addr> one can empty the /etc/hostname file

still the question, how to suppress the whole greeting message motd things are working for me only within the SSH logins, but not for direct server login

share|improve this question

Probably you want to change /etc/motd, /etc/motd.tail or their linked targets. Motd translates to "Message of the day". Also check the contents of /etc/update-motd.d (at least on ubuntu). This is what the Debian Wiki says about it. If you want to remove the motd completely:

sudo rm /etc/motd
sudo touch /etc/motd
share|improve this answer
that one I know, but its only for SSH logins, not for a normal direct login. – static Nov 22 '12 at 14:26
thanx for the link to the debian wiki about the motd, there is described where in the motd Linux blabla come from: uname -snrvm > /var/run/motd – static Nov 22 '12 at 14:59
Yes, but remember it's overwritten all the time. So if you want to get rid of everything, remove the symlink /etc/motd and replace it with an empty file. – Michael Nov 22 '12 at 15:01
I created ~/.hushlogin as described here link – static Nov 22 '12 at 15:03
but the direct login works another way as I see it stays unchanged after all this motd tricks... – static Nov 22 '12 at 15:08

So I found it. It is not a login message, it is a pre-login or logon message described in the files

/etc/issue     - normal pre-login
/etc/ - telnet pre-login

Here the description: link1 link2

share|improve this answer

Your Answer


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.