Article 57SFV Create a new account and permission.

Create a new account and permission.

by
n00b_noob
from LinuxQuestions.org on (#57SFV)
Hello,
I'm using CentOS 8 and Apache. My server hosting a WordPress website under the "/var/www/wp" directory. By default, Apache using "apache:apache" user and group. I want to add a new account and give the account a full permission on "/var/www/wp" directory. Which way is good for my goal?
Is it OK if I add the new account to "Apache" group?
The current directory permission is as below:
Code:$ ls -lZ /var/www/
total 268
-rw-r--r--. 1 root root system_u:object_r:usr_t:s0 266455 Oct 5 2012 apache_pb.svg.bak
drwxr-xr-x. 2 root root system_u:object_r:httpd_sys_script_exec_t:s0 6 Jun 9 00:46 cgi-bin
drwxr-xr-x. 2 root root system_u:object_r:httpd_sys_rw_content_t:s0 6 Jun 9 00:46 html
drwxrwxr-x. 7 apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 4096 Sep 3 12:33 wpThank you.latest?d=yIl2AUoC8zA latest?i=KNevLjVWRxM:NOSPqaKcPUw:F7zBnMy latest?i=KNevLjVWRxM:NOSPqaKcPUw:V_sGLiP latest?d=qj6IDK7rITs latest?i=KNevLjVWRxM:NOSPqaKcPUw:gIN9vFwKNevLjVWRxM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments