Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 21:59:43 +0100 (BST)
From:      Michael Grant <mg-fbsd2@grant.org>
To:        freebsd-questions@freebsd.org
Subject:   running a program as nobody
Message-ID:  <200110262059.VAA21039@splat.grant.org>

next in thread | raw e-mail | index | archive | help
I want to run a particular daemon as userid nobody.  I tried the
obvious thing of using su like this:

su -c nobody nobody /usr/local/bin/food

but no matter what I try, I cannot get something like this to work.

Is there some standard way to do this other than writing a C program
wrapper myself?  I see something called "jail" but that seems a bit
heafty, it looks like I would have to install a complete version of
freebsd in some directory practically creating a virtual machine.

Surely there must be some simple way to do run a program as nobody,
maybe chrooted as well?




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?200110262059.VAA21039>