Friendly Tutorials

 
Home arrow Categories
Changing Welcome Message in Linux RedHat, Fedora or CentOS PDF Print E-mail
User Rating: / 1
PoorBest 
Written by Administrator   
Tuesday, 01 June 2010

Before you log into your system  using ssh you find by default a welcome message as the screenshot below :

Welcome Message in CentOS

How do I change this Linux welcome message ?

This topics applies to Linux Red Hat, Fedora, CentOS

 

 

- Login to your system

- Edit the file /etc/issue and /etc/issue.net with any editor you prefer.

The first file is to set welcome display message locally on the machine. The second .net file is to set the welcome message when accessing from remote locations.

- Save your file and exit

- The next time when you will log to the system you will see what you've written in the file as a Welcome Message before your login prompt.

Some parameters can be used within this file

       \d     insert current day (localtime),

       \l     insert line on which mingetty is running,

       \m     inserts machine architecture (uname -m),

       \n     inserts machine’s network node hostname (uname -n),

       \o     inserts domain name,

       \r     inserts operating system release (uname -r),

       \t     insert current time (localtime),

       \s     inserts operating system name,

       \u     resp.  \U the current number of users which are currently logged in.  \U inserts "n users", where as \u only inserts "n".

       \v     inserts operating system version (uname -v).

 

Last Updated ( Tuesday, 01 June 2010 )
 
< Prev   Next >
Advertisement

[+]
  • Narrow screen resolution
  • Wide screen resolution
  • Auto width resolution
  • Increase font size
  • Decrease font size
  • Default font size
  • default color
  • blue color
  • green color