Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!phri!marob!daveh From: daveh@marob.masa.com (Dave Hammond) Newsgroups: comp.unix.xenix Subject: Re: message of the day/SCO Keywords: motd SCO Message-ID: <269B2ADA.1BB0@marob.masa.com> Date: 11 Jul 90 13:34:18 GMT References: <720@wshb.csms.com> Reply-To: daveh@marob.masa.com (Dave Hammond) Organization: ESCC, New York City Lines: 23 In article <720@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@marob.masa.com uunet!masa.com!marob!daveh