Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th May 2009, 21:07
ACDII ACDII is offline
Member
 
Join Date: Sep 2006
Posts: 92
Thanks: 7
Thanked 3 Times in 3 Posts
Default DNS/Apache/HTTPD/PHP permissions

Hi there. I have a question I need answered so I can move forward with my project. I have an internal management server for my network, it runs Rancid, and DNS for itself. I have a hosts domain setup which works fine, does what I need it to do. The problem is admining the DNS easily. Only a token few here know enough about bind to add or change the records. I built a web based front end to add, remove or change a record and search the record. The problem I have is getting the front end to access R/RW the file without breaking or compromising the DNS server.


What do I need to do to setup permissions so the web front I built, which has its own authentication, to be able to read and write to the zone file?
Reply With Quote
Sponsored Links
  #2  
Old 9th May 2009, 14:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You can add the Apache user to the group of the zone files. Then change the permissions on the zone files so that the group has write permissions.

Another solution might be to use a MySQL-based DNS server such as MyDNS or PowerDNS.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 12th May 2009, 22:44
ACDII ACDII is offline
Member
 
Join Date: Sep 2006
Posts: 92
Thanks: 7
Thanked 3 Times in 3 Posts
 
Default

Quote:
Originally Posted by falko View Post
You can add the Apache user to the group of the zone files. Then change the permissions on the zone files so that the group has write permissions.

Another solution might be to use a MySQL-based DNS server such as MyDNS or PowerDNS.
I think I ot it, in the groups file, add the user for httpd to the named group, and set the directory to rw?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ProFTPd Permissions CarbonCopy Server Operation 6 5th May 2009 00:18
Verify proper permissions filch General 6 7th February 2009 15:05
suPHP, Joomla! 1.5, file & diretory permissions pjdevries Installation/Configuration 17 19th June 2008 02:58
Logcheck Permissions Problems Drek Server Operation 1 7th September 2007 15:43
permissions problem with sub folders of network drives tommo Server Operation 0 20th June 2007 15:50


All times are GMT +2. The time now is 21:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.