Re: Sources of changes to /etc/motd and of other login messages?
On Wed, Dec 11, 2002 at 06:34:48AM -0500, Lloyd Zusman wrote:
> What process or utility changes the contents of /etc/motd?
> Occasionally, I see an extra system identification line that has been
> placed into that file.
[cjwatson@arborlon /etc/init.d]$ grep motd *
bootmisc.sh:# Update /etc/motd.
bootmisc.sh: uname -a > /etc/motd.tmp
bootmisc.sh: sed 1d /etc/motd >> /etc/motd.tmp
bootmisc.sh: mv /etc/motd.tmp /etc/motd
[cjwatson@arborlon /etc/init.d]$ dlocate bootmisc.sh
sysvinit: /etc/init.d/bootmisc.sh
> Also, what causes the following prompt to print out at login, after
> /etc/motd has been displayed? ...
>
> Last login: Wed Dec 11 06:25:26 2002 from 204.212.175.30
Not sure ...
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: