LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-30-2003, 10:09 PM   #1
x2000koh
Member
 
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

Rep: Reputation: 15
login welcome message and desktop color how to


Hi linux user,
appreciate if any one can help.

1) How can I change the "welcome message" I mean the login screen message ? (where it prompt for user to enter user name) Is redhat 8 and debian 3 has the same place where I can change ? I use both redhat 8 and debian3 for my workstation.

2) After user login and enter password, I want it to appear a login message. How can I do that in redhat 8 and debian3 ?

3) After user login I want the desktop to change color how can I do that ? This is to distinguis whether user has sucessfully login to the network.

Appreciate your help.

regards,
x2000koh
 
Old 08-01-2003, 06:55 AM   #2
shaheen
LQ Newbie
 
Registered: Jul 2003
Location: India
Distribution: Red Hat 7.1
Posts: 27

Rep: Reputation: 15
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
 
Old 08-01-2003, 11:44 AM   #3
x2000koh
Member
 
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

Original Poster
Rep: Reputation: 15
login welcome message

shaheen
Thanks for reply. let me provide more information.
1)not at the console mode (black and white mode). I mean the "welcome message" at gui or graphical screen before you enter username. Let say if your hostname is coco. Normally it display "welcome to coco". I want to change that to "welcome to university computer lab".

2) Let say today computer lab will be close from 12.15 -1pm for server upgrading. I want who ever login can see the message "Server will be down today due to system upgrading. Please logout at 12pm". How can I do that ? All these has to be in graphical mode after users have login.

3) The third part actually is the setup for my NIS client. NIS client can either login as local user (not connected to server) or network (connect to server). If user login as network, all configuration are taken from the NIS server. The NIS client can configure to take the configuration file (.bash_profile) from the nis server. If user not connected as network user. it will take the .bash_profile.

The purposes of this is help me to trouble shoot or once I see the color of the desktop I be able to know is it login to network or not.

appreciate if you can help.

x2000koh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup system Login banner and Login message 06-03-05 Linux - Newbie 13 07-24-2020 02:05 PM
remote desktop with 32 bit color kosa Linux - Software 2 10-31-2005 01:12 PM
how to chang IceWM desktop background color? BRAHmS Linux - Software 1 02-14-2005 04:37 AM
Changing color scheme for Gnome desktop maelstrom209 Linux - Software 2 12-26-2004 09:30 PM
gnome desktop font color reddazz Linux - Software 3 11-07-2004 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration