On Wed, Dec 18, 2013 at 01:16:24PM -0500, Carlos Torres wrote:
> 
> On 12/18/13, Ivan Vershinin <i...@vershinin.net> wrote:
> > But crontab file does not contain USER
> > environment variable by default,
> 
> I might be missing something but doesn't crontab allow
> you to mention env variables in it, and it passes them
> to its execv?

Yes, that's possible.

> all you'd have to do is
> USER=ivan

IMHO that should not be necessary from the slock user perspective.
The check in the slock code is simple and straight forward, why not do 
that?

Kind regards,
-Alex

Reply via email to