Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod!samsung!munnari.oz.au!metro!cluster!necisa!boyd From: boyd@necisa.ho.necisa.oz.au (Boyd Roberts) Newsgroups: comp.unix.admin Subject: Re: Forcing actions at login Message-ID: <1991@necisa.ho.necisa.oz.au> Date: 15 Jan 91 00:09:56 GMT References: <6153@ecs.soton.ac.uk> <446@minya.UUCP> <1991Jan10.191546.268@am.sublink.org> <1991Jan13.231048.25341@NCoast.ORG> Organization: NEC Information Systems Australia Pty. Ltd. Lines: 20 In article <1991Jan13.231048.25341@NCoast.ORG> allbery@ncoast.ORG (Brandon S. Allbery KB8JRR) writes: > >$ sed -n 6,10p /etc/profile >if test ! -f $HOME/.hushlogin; then > if newer-than /etc/motd $HOME/.enoughalready; then > cat /etc/motd > touch $HOME/.enoughalready > fi >fi But Brandon, where's the test on: "$HOME/.i-really-don't-want-to-see-the-motd-ever!" I just don't think you've got enough complexity in your solution. Boyd Roberts boyd@necisa.ho.necisa.oz.au ``When the going gets wierd, the weird turn pro...''