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 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?

UPD1

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

2 Answers 2

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/issue.net - telnet pre-login

Here the description: link1 link2

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.