Mehdi Tamaddon
Verified User
Hi,
Today I run a shell on my server and I saw that I can see list of domains.
I searched about it and found out that I should decrease the permission of name.conf file to 700 , 600 & 640 but when I did it and restarted the named I got an error , named.conf did not start.
Then I changed it to 644 and it worked fine (started) .
At last my question is how can I prevent from reading this file using shell?
Thanks for help.
Regards,
Mehdi Tamaddon
Today I run a shell on my server and I saw that I can see list of domains.
I searched about it and found out that I should decrease the permission of name.conf file to 700 , 600 & 640 but when I did it and restarted the named I got an error , named.conf did not start.
Then I changed it to 644 and it worked fine (started) .
At last my question is how can I prevent from reading this file using shell?
Thanks for help.
Regards,
Mehdi Tamaddon