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. :study: |
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... |
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 |
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?
|
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
|
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 ___________________________ |
All times are GMT -5. The time now is 07:19 PM. |