security issue regarding html file permissions
Nabin Limbu
nlimbu at healthnet.org.np
Wed Oct 13 13:55:40 UTC 2004
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
More information about the redhat-list
mailing list