LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-30-2006, 09:55 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
Bind File Permissions


Under /var/lib/named what should the file permission be for my zone files,reverse zone files and etc using Bind 9?
 
Old 12-30-2006, 11:15 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The zone and reverse zone files permissions and security context should be (on Fedora):

Code:
-rw-r-----  root named system_u:object_r:named_zone_t
and the etc files should be:

Code:
-rw-r--r--  root root  system_u:object_r:named_conf_t   localtime
-rw-r--r--  root named system_u:object_r:named_conf_t   named.conf
-rw-r--r--  root named system_u:object_r:named_conf_t   named.custom
-rw-r-----  root named system_u:object_r:named_conf_t   rndc.conf
-rw-r--r--  root named system_u:object_r:dnssec_t       rndc.key
 
Old 12-31-2006, 12:00 AM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
many thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
folder permissions using --bind pixellany Linux - General 1 07-05-2006 08:16 AM
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 12:00 PM
Fedora bind-chroot permissions wrong rhoekstra Linux - Networking 1 08-07-2005 09:47 PM
need help with a permissions issue reloading bind and apache Pauly Linux - General 1 04-05-2005 05:47 PM
mount --bind, vfat and permissions jobano Linux - General 0 05-24-2004 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration