login welcome message
For the first part of your querry , i didnot understand what you meant by saying you want to change the welcome message , do you mean that you want the user to see " Welcome to x2000koh 's Linux System (Enigma_Revisited) " something like this after which he will enter the username and password ?? if that is the case then open the file /etc/issue and place
Welcome To x2000koh 's Linux System (Enigma_Revisited)
GNU/Linux System
Kernel \r on an \m
!! Never mind this is just a message , place ur one but only the first two lines , leave the Kernel \r on an \m line , donot edit this
wipe out whatever is in there ... and place that ..
a similar entry will be found in /etc/issue.net change that too with the same value
anyway for your second part .. the welcome message for each user can be set globally or locally , i mean the messages can be different for each user , that can be set by editing the .bash_profile of each users profile ... but whatever you write in that it will appear for that user only , but say if you want a message to appear for all the users , like " x2000koh is watching !! Beware of ur activities " edit the /etc/motd file and put it in there .. next time any user logs in he will be greeted with that message !!
for the third part .. its a dangerous proposal .. i feel you may have to write a script .. anyway i am not sure of that never had the idea of chnaging colours on users login , why try that , better you can place that welcome message.
Do tell me if that works ... All the best
Shaheen
|