Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Mar 1999 18:30:28 +0100
From:      Stefano Riva <sriva@alice.it>
To:        <jhan@servecom.picker.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Run a process with a specific UID
Message-ID:  <3.0.5.32.19990305183028.00ab7510@relay.alice.it>
In-Reply-To: <002c01be672c$1504a340$babc3690@sean-han.picker.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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