Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Oct 2008 11:56:57 -0400
From:      DAve <dave.list@pixelhammer.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Running cron jobs as nobody
Message-ID:  <48E4EF49.5080605@pixelhammer.com>
In-Reply-To: <20081002153646.GA24929@ayn.mi.celestial.com>
References:  <48E4E4B8.90202@pixelhammer.com> <20081002153646.GA24929@ayn.mi.celestial.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Campbell wrote:
> You can use ``su -c '/path/to/command' username'' to run scripts as
> users other than root.
> 
> Another way is to use ``crontab -u username''.  man crontab for
> details.
> 
> Bill

I am being told the developer tried a user crontab without success. I've 
not suggested they try su yet though I dropped hints.

Still seems odd that setting the user to nobody in /etc/crontab did not 
work.

Dave

-- 
Don't tell me I'm driving the cart!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48E4EF49.5080605>