From owner-freebsd-questions Fri Oct 26 13:59:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from grant.org (grant.org [206.190.164.98]) by hub.freebsd.org (Postfix) with ESMTP id C10E437B403 for ; Fri, 26 Oct 2001 13:59:46 -0700 (PDT) Received: from splat.grant.org (mgrant@host213-122-156-75.btinternet.com [213.122.156.75]) by grant.org (8.11.6/8.11.6) with ESMTP id f9QKxjB14514 for ; Fri, 26 Oct 2001 16:59:45 -0400 (EDT) (envelope-from mgrant@splat.grant.org) Received: (from mgrant@localhost) by splat.grant.org (8.9.3+Sun/8.9.1) id VAA21039; Fri, 26 Oct 2001 21:59:43 +0100 (BST) Date: Fri, 26 Oct 2001 21:59:43 +0100 (BST) Message-Id: <200110262059.VAA21039@splat.grant.org> From: Michael Grant To: freebsd-questions@freebsd.org Subject: running a program as nobody Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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