On Thu, Oct 16, 2014, at 04:39 AM, Peter Simons wrote:
> Hi, 
> 
>   > SH=/run/current-system/sw/bin/sh
>   > [email protected]
>   > PATH=/run/current-system/sw/sbin
>   >
>   > 10 02 * * * echo test
> 
> that $PATH doesn't look right. Shouldn't that directory list allow the
> cron daemon to resolve 'sendmail' to '/var/setuid-wrappers/sendmail'?

Well, I'm a bit naive I'm afraid -- 'which sendmail' pointed at
/run/current-system/sw/sbin, and that worked from the command-line, so I
put it in there.

I didn't know about /var/setuid-wrappers. Maybe that's the thing to use?
I see it mentioned in the NixOS manual. I'll try that.

Thanks -- I'm learning quite a bit from this! --Michael

> 
> Best regards,
> Peter
> 
> _______________________________________________
> nix-dev mailing list
> [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to