security issue regarding html file permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

We have hosted some websites inside /var/www/ directory for different domains. I don't 
want to share root password with our webmaster due to security concern but would like 
to give full privelege to /var/www/ directory. For this, I have created an account  
"webadmin" with wheel group and then changed the ownership and permission of 
/var/www/ directory as follows:
	chown   -R root:wheel   /var/www/
	chmod   -R   775   /var/www/

Is this a right way to do it? Or is there any better way to do this thing? Will there be any 
security risk for the above permission and mode of html files?

Note: only root and webadmin are in wheel group

Hoping for your kind support.

Regards
Nabin Limbu

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux