Forcing actions at login

Boyd Roberts boyd at necisa.ho.necisa.oz.au
Tue Jan 15 11:09:56 AEST 1991


In article <1991Jan13.231048.25341 at NCoast.ORG> allbery at 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 at necisa.ho.necisa.oz.au

``When the going gets wierd, the weird turn pro...''



More information about the Comp.unix.admin mailing list