michaelb@wshb.csms.com ( WSHB Operations Eng) (07/04/90)
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. This really wrecks one site if I have a long motd. As I use the motd regularly, I don't want to just get rid of it for all users. 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. I did a strings on /etc/login and found a reference to .hushlogin so I tried making an empty file named .hushlogin. No good. It doesn't stop the motd. I also can't find any reference to .hushlogin in the FM. I have two questions therefore; how do I keep the motd from going to a uucico user, and what is the syntax for stuff in .hushlogin? Thanks, Michael -- Michael Batchelor--Systems/Operations Engineer #compliments and complaints WSHB - An International Broadcast Station of # letterbox@csms.com The Christian Science Monitor Syndicate, Inc. #technical questions and reports michaelb@wshb.csms.com +1 803 625 4880 # letterbox-tech@csms.com
daveh@marob.masa.com (Dave Hammond) (07/11/90)
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