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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-27-2001, 09:54 AM
|
#1
|
|
LQ Addict
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166
Rep:
|
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.

|
|
|
|
06-27-2001, 10:32 AM
|
#2
|
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
|
06-27-2001, 11:29 AM
|
#3
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
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
|
|
|
|
06-27-2001, 11:43 AM
|
#4
|
|
LQ Addict
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166
Original Poster
Rep:
|
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?
|
|
|
|
06-27-2001, 12:06 PM
|
#5
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
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
|
|
|
|
06-27-2001, 10:32 PM
|
#6
|
|
Member
Registered: Apr 2001
Location: Brisbane, Australia
Distribution: Ubuntu
Posts: 146
Rep:
|
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
___________________________
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:04 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|