Portal Home > Knowledgebase > Articles Database > Permission for /etc/named.conf


Permission for /etc/named.conf




Posted by skyknight, 09-14-2011, 12:54 AM
Default permission for /etc/named.conf is 644. Is it all right to set permission 600 for /etc/named.conf?

Posted by anythingss, 09-14-2011, 01:15 AM
i believe the default is usually something like 640, owned by root, and group named. might want to set it like that instead. it should still stop whoever it is you're trying to hide it from

Posted by centauricw, 09-15-2011, 12:50 PM
It can be world-readable if you don't care you can look at it. But if it includes any keys (like for rdnc), it should not be world-accessible. The file should be owned by root with read-write permissions, and belong to the named group with read-only permissions. (Bind doesn't need to write the file, only read it.) So the rights mask would be: root named 640



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
SLhost down ? [merged] (Views: 689)
SharkTech down? (Views: 669)

Language: