message of the day/SCO

Dave Hammond daveh at marob.masa.com
Wed Jul 11 23:34:18 AEST 1990


In article <720 at wshb.csms.com> you write:
>Help,
>	I'm having trouble with a uucp site login. The /etc/motd file
>gets sent to the terminal when the login is complete before the uucico
>gets started.[...]
>	My initial though was that the motd gets sent by /etc/profile. 
>(Seems like it was on other systems.) But in SCO XENIX 386 2.3.2
>the distribution /etc/profile script is even more terse than /bin/true.
>It contains absolutly nothing after the copyright notice. Ergo, there
>is nothing for me to edit.

Nothing to edit, but plenty of room to append :-)

Just rename /etc/motd to something else (eg new.motd) -- this will shut
login up.  Then append your own motd printing code to /etc/profile, eg:

[ `basename $SHELL` = "uucico" ] || cat /etc/new.motd

--
Dave Hammond
daveh at marob.masa.com
uunet!masa.com!marob!daveh



More information about the Comp.unix.xenix mailing list