Re: [Nolug] Specifying what user a linux daemon should run as?

From: David B. John <djohn_at_archdiocese-no.org>
Date: Thu, 15 May 2008 14:43:15 -0500
Message-Id: <1210880595.9668.22.camel@isd4>

On Thu, 2008-05-15 at 12:20 -0500, Chris Jones wrote:
> But still, for future reference, can anybody tell me where you go to
> specify what user a daemon is supposed to run as?

Depending upon how it's spawned, try:
su -c 'some command' - mruser

> If I remember correctly, it seems that the vmware daemon itself is
> running as root, but the vm's each run as their own process, and that
> is run with the non-root privledges of my standard user, for some
> reason. I guess it is somehow tied to whatever user creates the
> virtual machine itself. I haven't seen any setting anywhere inside
> vmware to change this, however.

Try chown'ing the vm directory to whichever user you want to own the
machine.

Dave

___________________
Nolug mailing list
nolug@nolug.org

Received on 05/15/08

This archive was generated by hypermail 2.2.0 : 12/19/08 EST