How to change the login screen banner

qtip-green


The previous tip was about change the banner after login. This tip, however, was to change the banner of the login prompt aka pre-login message.




The file to change is /etc/issue. It also support escape codes to display some additional info :


b = Insert the baudrate of the current line.
d = Insert the current date.
s = Insert the system name, the name of the operating system.
l = Insert the name of the current tty line.
m = Insert the architecture identifier of the machine, eg. i486
n = Insert  the nodename of the machine, also known as the hostname.
o = Insert the NIS domainname of the machine.
O = Insert the DNS domainname of the machine.
r = Insert the release number of the OS, eg. 1.1.9.
t = Insert the current time.
u = Insert the number of current users logged in.
U = Insert the string “1 user” or “<n> users” where <n> is the number of users login.


Adiós !!!

More post - related

Please sponsor my coffee if you find my posts worth reading, thanks!

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*
-->
Improve the web with Nofollow Reciprocity.