[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Change Telnet welcome msg



At 4/21/01 11:24 AM +0200, you wrote:
How about buying a Linux for dummies book first?

/etc/motd

Good Lord, Peter... chill out! That's three emails in a row from you ripping someone's head off. Yes, they're simple questions, but is there a problem with your "delete" key? Let it go, move on.

By the way, your answer here is either wrong or incomplete. /etc/motd is called by login and shown *before* the client logs in along with the login prompt. /etc/issue is shown by telnet *after* you've logged in with an acceptable username/password combo.

I believe Johan was asking about what is presented before the login, but let's cover both possibilities.

Answer for /etc/issue and /etc/issue.net:
=========================================

/etc/issue.net is an exact copy of /etc/issue. But editing /etc/issue does very little good since /etc/rc.d/rc.local overwrites it on the next reboot.

1. Make a backup copy of /etc/rc.d/rc.local.

2. Edit /etc/rc.d/rc.local. At the end you'll find a few lines that look like "echo ... >> /etc/issue". Replace the ... here with whatever you want it to say; remember to quote text. (And remember that I only quoted here to make it stand out; they quotes you see in this message should not be typed.

3. Make the same edits by hand to your actual /etc/issue so you don't have to reboot.

4. Copy /etc/issue to /etc/issue.net

Answer for /etc/motd:
=====================

1. Edit /etc/motd. <grin>


--
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx