[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SAGE] Output from "cron" command



Randal L. Schwartz wrote:
>>>>>>"DJ" == DJ Gregor <dj@gregor.com> writes:
>>>>>
> 
> DJ> mailx(1) on Solaris 2.6 always seems to interpret tilde options, even
> DJ> if stdin is not a tty, which is not what the man page says it is
> DJ> supposed to do.  I can't easily get to machines running  a more recent
> DJ> version of Solaris right now, so I would be curious if Solaris 8/9 act
> DJ> the same way.
> 
> So, in summary:
> 
>         Far more versions of mailx interpret tilde in the body
>         under all/default circumstances than most people realize.
> 
> Hence, a blanket prohibition of using mailx for autogenerated
> mail is worthy, and is my original point.  Your security tip
> of the day, at no extra charge.
> 
> :-)
> 

Very good advice, knowing what NOT to use. Is there something we SHOULD use?

By the way, /usr/ucb/Mail is a link to /usr/bin/mailx in Solaris, but 
they behave very slightly differently, by examining argv[0]

Tom