From owner-freebsd-questions Fri Mar 5 9:30:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dns.ie-online.it (dns.ie-online.it [194.133.148.8]) by hub.freebsd.org (Postfix) with ESMTP id EDAC5151B2 for ; Fri, 5 Mar 1999 09:30:47 -0800 (PST) (envelope-from sriva@alice.it) Received: from dns.ie-interna.it (host1.ie-online.it [194.133.148.10]) by dns.ie-online.it (8.8.8/8.8.8) with ESMTP id SAA07884; Fri, 5 Mar 1999 18:30:29 +0100 (CET) (envelope-from sriva@alice.it) Received: from stefano (stefano.ie-interna.it [192.168.0.33]) by dns.ie-interna.it (8.8.8/8.8.8) with SMTP id SAA23442; Fri, 5 Mar 1999 18:30:28 +0100 (CET) (envelope-from sriva@alice.it) Message-Id: <3.0.5.32.19990305183028.00ab7510@relay.alice.it> X-Sender: riva@relay.alice.it X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 05 Mar 1999 18:30:28 +0100 To: , freebsd-questions@FreeBSD.ORG From: Stefano Riva Subject: Re: Run a process with a specific UID In-Reply-To: <002c01be672c$1504a340$babc3690@sean-han.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12.17 05/03/99 -0500, you wrote: >I want to run a program in my daily script. Because it's the root call the >daily script, so the owner of all programs launched by daily script will be >root. How can I launch a program with a specific UID from the daily script >without setting the suid bit? Read the examples in the "man su" page. Anyway, why don't you put your program (or a script calling it) directly in your /etc/crontab? --- Stefano Riva Software Engineer - Systems Administrator Informazioni Editoriali I.E. Srl Phone +39-027528400, Fax +39-027528451 Email sriva@alice.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message