Tuvok n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Apr 2004 Posts: 32
|
Posted: Sat Feb 09, 2008 5:33 pm Post subject: [SOLVED] some apache2 processes run as root? |
|
|
In /etc/httpd.conf there are the following settings:
User apache
Group apache
ps tells that there are 2 root and 5 non-root processes.
And also the java-bridge process is running as root:
root 6739 0.0 0.7 61272 7452 ? Ss 14:26 0:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D MANUAL -D SSL -D SSL_DEFAULT_VHOST -D PHP5 -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -k start
root 6880 0.0 0.3 61108 3404 ? Ss 14:26 0:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D MANUAL -D SSL -D SSL_DEFAULT_VHOST -D PHP5 -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -k start
apache 6958 0.0 0.3 61272 4068 ? S 14:26 0:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D MANUAL -D SSL -D SSL_DEFAULT_VHOST -D PHP5 -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -k start
apache 6959 0.0 0.3 61272 4060 ? S 14:26 0:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D MANUAL -D SSL -D SSL_DEFAULT_VHOST -D PHP5 -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -k start
apache 6960 0.0 0.3 61272 4060 ? S 14:26 0:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D MANUAL -D SSL -D SSL_DEFAULT_VHOST -D PHP5 -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -k start
apache 6961 0.0 0.3 61272 4060 ? S 14:26 0:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D MANUAL -D SSL -D SSL_DEFAULT_VHOST -D PHP5 -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -k start
apache 6962 0.0 0.3 61272 4060 ? S 14:26 0:00 /usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D MANUAL -D SSL -D SSL_DEFAULT_VHOST -D PHP5 -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -k start
root 6881 0.0 1.3 236060 14220 ? Sl 14:26 0:00 /usr/lib/jvm/su
n-jdk-1.5/bin/java -Djava.library.path=/usr/lib/php5/lib/php/extensions/no-debug
-non-zts-20060613 -Djava.class.path=/usr/lib/php5/lib/php/extensions/no-debug-no
n-zts-20060613/JavaBridge.jar -Djava.awt.headless=true -Dphp.java.bridge.base=/u
sr/lib/php5/lib/php/extensions/no-debug-non-zts-20060613 php.java.bridge.Standal
one LOCAL:@java-bridge-1a53 1
Can anyone confirm the same behavior? What are the reasons?
# emerge -pv apache
[ebuild R ] www-servers/apache-2.2.8 USE="doc ldap ssl -debug (-selinux) -sni -static -suexec -threads" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -authn_alias -cern_meta -charset_lite -dumpio -log_forensic -proxy_ftp -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 0 kB
#eix java-bridge
* dev-php4/php-java-bridge
Available versions: [M]2.0.8
Homepage: http://php-java-bridge.sourceforge.net/
Description: The PHP/Java bridge is a PHP module wich connects the PHP object system with the Java or ECMA 335 object system.
[D] dev-php5/php-java-bridge
Available versions: [M]2.0.8 [M](~)3.1.8[1] [M]4.3.0 [M]~4.3.2 {doc examples}
Installed versions: 4.3.0(09:16:31 AM 12/23/2007)
Homepage: http://php-java-bridge.sourceforge.net/
Description: The PHP/Java bridge is a PHP module wich connects the PHP object system with the Java or ECMA 335 object system.
[1] /usr/portage/local/layman/php-testing
Found the answer here:
http://lists.freebsd.org/pipermail/freebsd-security/2004-December/002519.html |
|