apache user does not exist

后端 未结 5 1047
情书的邮戳
情书的邮戳 2021-01-13 11:06

I\'m trying to run the command, chown -R apache:apache xyz But I\'m getting error, chown: apache:apache\': invalid user

Then I tried for the user www-da

5条回答
  •  甜味超标
    2021-01-13 11:39

    look in the configuration for apache - httpd.conf. The following lines should give you the needed informations.

    For the user do:

    find / -name httpd.conf | xargs grep -i "^user"
    

    and for the group do:

    find / -name httpd.conf | xargs grep -i "^group" 
    

    -Martin

提交回复
热议问题