LinuxQuestions.org
Help answer threads with 0 replies.
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 06-25-2001, 06:54 AM   #1
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Rep: Reputation: 30
Question RedHat Generic Login Screen


Two things:

In Redhat (7.1 to be specific), how do you change the login in screen to say something other than what the version of RH is, the kernel, and the architecture of the machine?

Second, in the past I have noticed that this screen sorta automatically updates itself if it needs to. (I upgraded my kernel a little while back and it changed to tell me the kernel version.) Does anyone know how it does this?

Thanx for the help!
Andy
 
Old 06-25-2001, 07:09 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
You doing a command line login on redhat or something graphical? If its command line then have a look /etc/issue - this is normally rewritten at boot time to reflect the kernel version etc... You might also have /etc/issue.net which is used for network (telnet etc) prompts.

HTH

Jamie...
 
Old 06-25-2001, 07:11 AM   #3
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Command Line

I am using command line... You said this is set during reboot... Does the kernel do it or is it something RedHat specific? I dont know how other distros work b/c I have only used RH.

Andy
 
Old 06-25-2001, 07:48 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
It's normally set in one of the startup scripts. It just runs 'uname' and a few other commands and pipes the output to /etc/issue. I'm not from the Redhat camp so can't say exactly where it is set but have a look in /etc/rc.d/???? and grep for mention of /etc/issue - that should find it.

Jamie...
 
Old 06-25-2001, 08:17 AM   #5
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Hi
At work so not certain, but I think the relevant file is /etc/rc.d/rclocal.
Jim
 
Old 06-25-2001, 11:03 AM   #6
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Talking Thanx!

Thanks for the input everyone! I will check it out when I get home!

Andy
 
Old 06-26-2001, 12:26 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
fi

# This will overwrite /etc/issue at every boot© So, make any changes you
# want to make to /etc/issue here or you will lose them when you reboot©
echo "" > /etc/issue
echo "$R" >> /etc/issue
echo "Kernel $„uname -r¤ on $a $SMP$„uname -m¤" >> /etc/issue

cp -f /etc/issue /etc/issue©net
echo >> /etc/issue
fi


this was in my /etc/rc©d/rc©local

so for RH, this looks like the place to put whatever you want©
 
Old 02-07-2004, 04:53 PM   #8
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
For anyone who uses Slackware, the script to edit is /etc/rc.d/rc.s
towards the bottom of the script just comment out the line:
Code:
echo " /bin/uname -sr ." > /etc/motd
this script overwrites /etc/motd after every re-boot!!
 
Old 02-07-2004, 05:35 PM   #9
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Talk about digging up one of my old OLD threads...

Sheesh...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Redhat login screen size odd Linux - Software 0 06-26-2004 02:04 PM
Changing login screen on RedHat 9.0 dubya Linux - General 2 03-03-2004 04:18 PM
Redhat 9 - Unable to set up login screen redwolf Linux - General 4 07-21-2003 11:26 PM
Where does redhat clear screen for login? whansard Linux - General 2 05-12-2003 05:30 PM
RedHat login screen. Citizen Bleys Linux - General 1 08-14-2001 05:04 AM

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

All times are GMT -5. The time now is 06:30 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