Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!mordor!styx!ptsfa!ihnp4!ihdev!pdg From: pdg@ihdev.ATT.COM (Joe Isuzu) Newsgroups: comp.unix.questions Subject: Re: Suppressing the message of the day. Message-ID: <1394@ihdev.ATT.COM> Date: Thu, 14-May-87 11:00:10 EDT Article-I.D.: ihdev.1394 Posted: Thu May 14 11:00:10 1987 Date-Received: Sat, 16-May-87 10:55:32 EDT References: <15452@brunix.UUCP> <386@quacky.UUCP> Reply-To: pdg@ihdev.UUCP (Joe Isuzu) Organization: American Nasal Amputation Centre Lines: 27 In article <386@quacky.UUCP> dce@quacky.UUCP (David Elliott) writes: >In article <15452@brunix.UUCP> kbb@brunix.UUCP (Karl Berry.) writes: >>Is it possible to suppress the printing of the message of the day at >>login? >This request piqued my interest. I looked to see if there was a manual >page for motd, and there wasn't (the information was in login(5)), so >I thought I'd write one. Good manual page, Dave. I thought I'd add a couple of thoughts for those on System V. /etc/motd is cat'ed by the /etc/profile script generally, which is executed for login shells. Login doesn't print the extra junk, so there is no need for a .hushlogin (uucp just uses uucico as its default program). As you have no choice as to whether or not /etc/profile is run, motd will get printed unless your sysadm adds something like this... if [ -r "$HOME/.hushlogin" ] ; then : else cat /etc/motd fi -- Paul Guthrie ihnp4!ihdev!pdg This Brain left intentionally blank.