Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2001 22:42:26 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Alan Gerber <agerber@unity.ncsu.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Run program as different user
Message-ID:  <20011109224226.C87567@xor.obsecurity.org>
In-Reply-To: <KJELJICNOFNHBNGEPFEKCEAGCDAA.agerber@unity.ncsu.edu>; from agerber@unity.ncsu.edu on Sat, Nov 10, 2001 at 01:39:53AM -0500
References:  <KJELJICNOFNHBNGEPFEKCEAGCDAA.agerber@unity.ncsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--yLVHuoLXiP9kZBkt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Nov 10, 2001 at 01:39:53AM -0500, Alan Gerber wrote:
> Hello FreeBSD!
>=20
> I recently began playing with the concept of starting a daemon at startup
> (from what I gather, I should put the initialization commands into
> rc.local), but the tough part is that I need this program run in a non-ro=
ot
> environment (ie- not as root!).  Is there a good way to do this?  Please
> respond to my email address (not the list), because I am not subscribed y=
et.

su(1) or sudo in ports.

Kris

--yLVHuoLXiP9kZBkt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE77MxSWry0BWjoQKURAtsUAKDw7gXNWT7WzAIVIi+FjjZKaTXU2gCgwg3S
x4Cxx4KCkStgDIJ65nCeids=
=sIsg
-----END PGP SIGNATURE-----

--yLVHuoLXiP9kZBkt--

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?20011109224226.C87567>