Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Oct 2005 22:11:28 +0000
From:      jdyke <jdyke@azimapower.com>
To:        ports@freebsd.org
Subject:   apache runs as root in a jail?
Message-ID:  <4341AC90.6050900@azimapower.com>

next in thread | raw e-mail | index | archive | help
i've installed apache in a jail recently via ports and have installed
apache more times then i can remember...today i noticed something
interesting that i'm hoping to get some clarification on.

using PHP, when i dump out $_ENV. i get the _ENV['USER'] index set to
root, when i do this in a regular install of apache on the main FreeBSD
server, i have no _ENV['USER'] at all associated with the script.

Why do the jailed apaches get assigned root as a user and nothing is
assigned to the main install.  ultimately, i'd like to have any script run
as www....but for no amd just trying to understand how the jail is
affecting the environment.

i have some gueses, but don't want to clutter the mail...

Thanks
Jeff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4341AC90.6050900>