Apacheの実行ユーザー変更
- ユーザ追加
useradd hogehoge -g users
- confファイル編集
vi /usr/local/httpd/conf/httpd.conf
<IfModule !mpm_netware_module> # # 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. # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. # #User daemon #Group daemon User httpdApache 実行ユーザー Group httpdApache 実行グループ </IfModule>