Would I be safe to set the permissions for every file in /etc to 644? It would allow root to still edit them and all other users to read them. Then just remove read permissions where required. Right now I have almost all files in /etc set to 777 because I was trying to fix permissions and everything broke.
Also, my /var directory is all set to 777 because whenever I try to change it to something more secure, my email or something else normally breaks. What are safe permissions for /var and it's sub directories?
And is it safe to set everything in /etc/sysconfig to 600? From what I can tell, only root needs read
And what about /etc/init.d? It seems like it should only need root read/write permissions
Last edited by CarbonCopy; 23rd April 2010 at 14:56.