I noticed by default lot of configuration files such as DNS zones are world readable (not writable). Is there a reason for this, or would I be safe to put them to 770 (owned by app:app) where app is the user/group of the application in question, so like in the case of DNS it would be named:named. Then if I want to give another user such as myself access I can just add to named group.
Also am I safe to chmod 700 most binaries? (like telnet, ssh, ping,g++ etc) If I give someone access to my server I want them to have very limited commands.
Am I on the right track or should I just leave it?
Just looking to lock down everything possible.
Also am I safe to chmod 700 most binaries? (like telnet, ssh, ping,g++ etc) If I give someone access to my server I want them to have very limited commands.
Am I on the right track or should I just leave it?
Just looking to lock down everything possible.