From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 15:57:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BA8E1065692 for ; Thu, 2 Oct 2008 15:57:06 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from smtp1.tls.net (smtp1.tls.net [65.124.104.104]) by mx1.freebsd.org (Postfix) with ESMTP id C4E848FC1C for ; Thu, 2 Oct 2008 15:57:05 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: (qmail 86425 invoked from network); 2 Oct 2008 15:57:04 -0000 Received: by simscan 1.2.3 ppid: 86393, pid: 86422, t: 0.1283s scanners: attach: 1.2.3 spam: 3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on smtp1.tls.net X-Spam-Level: X-Spam-Status: No, score=0.2 required=10.0 tests=ALL_TRUSTED,TVD_RCVD_IP autolearn=disabled version=3.2.1 Received: from 64-184-11-201.bb.hrtc.net (HELO ?192.168.1.46?) (ldg@tls.net@64.184.11.201) by ssl-smtp1.tls.net with ESMTPA; 2 Oct 2008 15:57:04 -0000 Message-ID: <48E4EF49.5080605@pixelhammer.com> Date: Thu, 02 Oct 2008 11:56:57 -0400 From: DAve User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48E4E4B8.90202@pixelhammer.com> <20081002153646.GA24929@ayn.mi.celestial.com> In-Reply-To: <20081002153646.GA24929@ayn.mi.celestial.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Running cron jobs as nobody X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 15:57:07 -0000 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!