LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-27-2001, 10:54 AM   #1
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
Command Prompt Screen


When I use the command line screen, at the top it displays:

Linux Mandrake release 7.2 (Odessey) for i586
Kernel 2.2.17-21mdk on an i686 / tty1
<computer naem> login:

Can anyone tell me where to go to change this info to something more customized? I do know how to change the computer name, but nothing else.

 
Old 06-27-2001, 11:32 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
I'm being lazy!! Have a look at http://www.linuxquestions.org/questi...?threadid=3687

"here's one I made earlier" (won't make much sense unless you grew up in the UK watching 'BluePeter')

Jamie...
 
Old 06-27-2001, 12:29 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
you can change the /etc/issue, but that's not really a nice thing to do, should really put anythign you might want to display in /etc/motd (Message Of The Day)

Chris
xxxx
 
Old 06-27-2001, 12:43 PM   #4
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Original Poster
Rep: Reputation: 45
WHERE DOES IT COME FROM THEN?

I tried what you guys said, and it did work until the next boot. Is there a way to stop that from happening?
 
Old 06-27-2001, 01:06 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
the /etc/issue file is generated after each boot by /etc/rc.local Edit this if you really have to, best to use /etc/motd tho IMHO
 
Old 06-27-2001, 11:32 PM   #6
hazza96
Member
 
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146

Rep: Reputation: 15
Sorry acid_kewpie that's not where it is on Mandrake. Besides that shadowhacker wants something that is displayed 'before' they login. MOTD is only displayed 'after' they login.

The file you need to alter is the /etc/rc.d/rc.local.

In there will be a section that starts with:
# 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.

This is my customised version. I get cron to run it every hour so that the uptime on the linux logo gets updated. It also gives me the linux logo on a telnet session.
__________________________

if [ -x /usr/bin/linux_logo ];then
/usr/bin/linux_logo -c -n -f -u > /etc/issue
echo "" >> /etc/issue
else
> /etc/issue
fi
echo "$R" >> /etc/issue
cp -f /etc/issue /etc/issue.net
echo "Kernel $(uname -r) on $a $SMP$(uname -m) / \l" >> /etc/issue
echo "Kernel $(uname -r) on a telnet session" >> /etc/issue.net

fi
___________________________
 
  


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
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM
When i login, there is a command prompt at the top of the screen bcf2 Linux - Newbie 12 07-09-2004 01:05 AM
cant see the bottom of the screen in command prompt simpletoker Slackware 6 04-14-2004 09:16 PM
Command prompt - Screen resolution adjusting K3vin Linux - Hardware 4 11-18-2003 04:08 AM
How to recall an old command at the command prompt? J_Szucs Linux - Newbie 9 03-07-2003 01:29 AM


All times are GMT -5. The time now is 04:31 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration