2014-03-04

customizing login screen message in linux

Pranaam to all Bhai ji _/\_
Today we will learn how to customize our Linux command line terminal for custom login message screen .
whenever we get login screen in command line mode , a message appear on the screen. After successful login , we get shell on machine and again a message appear (different from login screen message).
so lets customize them according to our wish ^_^ and put message that we want >:D<
we need to edit 2 files during this procedure
1st one is /etc/issue
2nd one is the user's .bashrc file(it will be under user home directory).

i am on CentOS Linux.
and here is my default login screen message


and here is my message screen after successful login


lets change them ;)
first we will change login screen message , so open /etc/issue file in vi or nano editor
and you will see, default content of file is same as login screen message because it is used by system duing login :P . This is the current content of the file


lets change it :P


save it, logout and see =))


hell yesh \m/ login screen message has been changed ^_^

ok now lets change message after login
to change this message , edit .bashrc file of the user(this file exist in user home directory)
open it in vi editor using command
vi  ~/.bashrc


this is our default .bashrc file content , edit it for your custom message
i am adding text after aliases and this is my edited .bashrc file


save it . logout and login again to confirm changes


and yes :) now our login screen message as well as message after login has been changed XD

Thank you
Greetz to :-
Zero cool ,code breaker ica, Aasim shaikh,Reborn, Raman kumar rana,INX_r0ot,Darkwolf indishell, Chinmay Pandya ,Silent poison India,Magnum sniper,Atul Dwivedi,ethicalnoob Indishell,Local root indishell,Irfninja indishell,Hardeep bhai,Mannu,Viki , AR AR bhai ji, Anju and Deepika kaushik

Share this post

0 comments

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

© 2009 Start With Linux | Mannu Linux
Designed by cyb3r.gladiat0r
Posts RSSComments RSS
Back to top