Jun 5, 2008

Removing the login message.

I dont know about you, but i dont like the message like "... you have new message ...." that is shown after logging in.
If you are like me and want to remove the message. Follow the following procedure. Its pretty simple:

Just create a file named ".hushlogin" in the home directory of the current user.
$ touch .hushlogin

If you want to hide this message for each new user that is created you can create the file named ".hushlogin" in /etc/skel directory.

# touch /etc/skel/.hushlogin

Remember you need root access in the second case.

No comments: