[wplug] Running Processes as non-root user

Eric Cooper ecc at cmu.edu
Fri Apr 28 08:53:34 EDT 2006


On Fri, Apr 28, 2006 at 08:43:52AM -0400, Matthew T. Engel wrote:
> 1.  How (w/ Linux) can I as root, initiate a process as non-root user? I
> would like to be able to do this at boot.

su -c "your command" non-root-user

> 2.  If anyone was able to successfully set up a chroot jail & is willing to
> share set up notes or advice... I would forever be grateful.

The complexity depends on how complete an environment your jailed
process requires.  There's a Linux HOWTO on setting up a chroot
jail for BIND that might be a good starting point.

-- 
Eric Cooper             e c c @ c m u . e d u


More information about the wplug mailing list