[ILUG] Welcome message.
Paul Jakma
paulj at alphyra.ie
Sun Jul 15 13:58:26 IST 2001
On Sun, 15 Jul 2001, Eugene O'Leary wrote:
> Can anybody tell me which file I need to edit in order to insert a "Message
> of the day", and get it to appear, when I telnet to my Linux box from
> another computer. At the moment I am just getting "Welcome to
> localhost.localdomain" and details of my system.
there are 2 files (well, 3)
1. /etc/issue and /etc/issue.net
are messages to be displayed /before/ the login prompt. issue.net is
read by telnet. (sshd won't display it).
NB: on RedHat these 2 files are overwritten on boot by
/etc/rc.d/rc.local. so if you make changes to issue, edit rc.local as
well and comment out the bits where the script echoes to issue.
2. /etc/motd (== Message of the Day)
a message to be displayed /after/ the user has succesfully logged in.
eg: login, telnet and sshd honour it.
>
> Eugene O'Leary.
--paulj
More information about the ILUG
mailing list