LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   www-data user and group both missing CentOS 7 (https://www.linuxquestions.org/questions/centos-111/www-data-user-and-group-both-missing-centos-7-a-4175646419/)

pheonis 01-17-2019 08:07 PM

www-data user and group both missing CentOS 7
 
I was working on my WordPress website and I got some HTTP ERROR 500 and then i checked the user and user groups of my WordPress via FTP and I found that all belong to 1000:1000 user. I tried to change that to www-data:www-data. But getting invalid user: 'www-data:www-data' error.

cut -d: -f1 /etc/group | sort code didn't show anything of www-data group

So its confirmed that www-data group is missing from my web server. SO now how to create a new www-data group and www-data user with same credentials?

wpeckham 01-17-2019 08:28 PM

You have cross posted duplicated (see https://www.linuxquestions.org/quest...-a-4175646418/) in violation of site rules. Please close one or the other.

michaelk 01-18-2019 06:47 AM

Closed per above


All times are GMT -5. The time now is 03:01 PM.