[2653] in bugtraq

home help back first fref pref prev next nref lref last post

SunOS 5.5 mailtool - stupid .forward symlink tricks

daemon@ATHENA.MIT.EDU (Neil Readwin)
Mon Jun 3 05:57:00 1996

Date:         Thu, 30 May 1996 20:07:04 +0100
Reply-To: Bugtraq List <BUGTRAQ@NETSPACE.ORG>
From: Neil Readwin <nreadwin@london.micrognosis.com>
To: Multiple recipients of list BUGTRAQ <BUGTRAQ@NETSPACE.ORG>

I've given up trying to file a bug report with Sun on this - if anyone else
has the patience to do it then I'd be grateful.

The SunOS 5.5 mailtool seems to follow symlinks when enabling the vacation
feature, so if you

        ln -s /var/mail/luser ~/.forward

and then enable vacation it copies /var/mail/luser to ~/.forward and
appends "|/usr/bin/vacation me" to it (and moves the symlink to
~/.forward..BACKUP - I'm not sure if you can do any damage using that
and I no longer have a 5.5 machine handy to check it). Neil.
--
 "For some reason all the very worst install scripts are written in csh."
  Geoff. Lane. (in bofh.jobfh.misc)

home help back first fref pref prev next nref lref last post