Changing console Penguin (/etc/issue)
What you describe is the contents of /etc/issue
Prove this to yourself by entering: "cat /etc/issue"
Now open /etc/issue in you favorite text editor. You'll see all kinds of codes that are ASCII color codes. They basically draw the picture of the penguin. Note that there are keywords and whatnot that also call up values hidden in amongst all those color codes.
To change this, you need to edit /etc/issue to your liking. Don't ask me how to create your own color ASCII drawing like the penguin. I don't know.
Note that backing up the old /etc/issue can't hurt, and start off the new /etc/issue with a clear screen control code or when you logoff a terminal it won't clear the screen like it should and someone could see what you were up to before you logged out. You can do this by entering "clear > /etc/issue" and then editing /etc/issue to taste. Make sure you put your customizations after the "^[[H ^[[2" because those are the clear screen codes.
But that's not enough. On Mandrake (what you're running according to your profile) they have a nifty bit of code in /etc/rc.local that takes overwrites /etc/issue when your box boots up, which undoes your editing.
I just nuke that section of code. It's right at the bottom of /etc/rc.local and starts out with these two comments:
# 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.
So if you delete (or comment out by adding "#" to the beginning of each line) those lines of code until the last "fi" you'll be able to keep your customized /etc/issue. I would keep the last line of /etc/rc.local alone (touch /var/lock/subsys/local), all it does is update the last modified time of a file, but I don't know what effect that would have on anything, if any.
Note that there is an /etc/issue.net that is issued to non-local users and can be different. Altogether a good thing.
--Flak Magnet
|