Hello to all. I have a centos 6.2 32BIT vpc and need to manual add apache group and user and give the group root access so i can then install zpanel and use php file explorers that will be able to ... [by johnyp]
So, is it possible to make multiple users the owner of a file when created? I mean, I know you can do chown -R apache:permissions /var/www/ (48:500) but that is only temporary because even if I decide to create a file after that, it will keep root as the owner, and apache as the group.
I just tried the following to add a new user, chroot the user and give him access to the folder /home/me/public_html via sftp and ssh :
##the following command are done by root or a sudo user
##add password for new user
## add user to sudo group which could be wheel or sudo depending on your setup
usermod -G wheel <username>
##add user to apa
I'm trying to give my user on my server permissions to access any folders on the server under the directory /.
I've blocked logging in as root to secure against bruteforce attacks so I made a user called andrew in a group called mcadmins. I do not know how to give the group mcadmins access to every SINGLE file in the / directory.
CentOs doesn't recognise www-data but want to change ownership on my files folder. All my folders are owned by root at the moment. Confused as to what should be owned by apache and what she be owned by me the root user? Also when it says root root does that mean root user me and group apache root?