Subject: Re: set-uid scripts
To: David Forbes <david@flossy.u-net.com>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 11/01/1999 17:21:10
On Mon, Nov 01, 1999 at 09:54:05PM +0000, David Forbes wrote:
>> because of the way that sh parses the command line, so stderr would
>> get redirected to the same place as stdout (cron's pipe) and then
>> stdout would get redirected to /dev/null.  so change that to 
>> 
>>    @reboot <path-to-script>/<my-script> >/dev/null 2>&1
>> 
>> and stdout will get sent to /dev/null, and then stderr will get sent
>> to the same place.
>
>Fantastic...that worked a treat!  (Although I do feel a bit silly...)

yeah...sh is "quirky" that way.  :)

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."