apache 非root用户启动

apache 非root用户启动

各位大虾
apache可以用非root用户启动吗?
哪位有解决办法
谢谢
apache推荐用非root用户运行
在配置文件里就有相关配置信息
我说的是启动用户,不是配置文件里的运行daemon的用户
If you wish httpd to run as a different user or group, you must run
httpd as root initially and it will switch.

#
# User/Group: The name (or #number) of the user/group to run httpd as.
#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".
#  . On HPUX you may not be able to use shared memory as nobody, and the
#    suggested workaround is to create a user www and use that user.
#  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
#  when the value of (unsigned)Group is above 60000;
#  don't use Group #-1 on these systems!
#
User nobody
Group #-1
</IfModule>
</IfModule