Make sure the files and directory are owned by the 
setuid bit on the dnsadmin.cgi executable.

Ken Jones

On Wednesday 28 May 2003 10:18 am, max andersen wrote:
> Yup,
>
> It 's been working for a while now, but I don't know how I made it work. I
> tried to install on another system, but again, I can log in on the webpage,
> but cannot delete the zones I've created.
>
> It says it can't find the data.tmp file.
>
> I will try to log my doings, so I can tell you all how I did.
>
> Max
>
> ----- Original Message -----
> From: "O'Reilly, Stuart" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 28, 2003 4:05 PM
> Subject: RE: [dnsadmin] Is there anybody on this mailinglist?
>
>
> It's in the INSTALL file:
>
> After you've created the directory, you will need to modify the
> .htaccess file in the cgi-bin/dnsadmin directory.
> This is so Apache knows how to authenticate users trying to access
> the directory.  You might need to change the permissions on the
> file. Some web servers want it only to be readable by the nobody
> user. Other systems (most that I've seen) want it readable by
> everyone, which is the default installation permission.
>
> Check the AuthUserFile path. The default is:
> AuthUserFile /usr/local/apache/conf/dnsadmin.passwd
>
> You may need to update this to point to your real apache conf directory.
>
> Now, create a user to log into dnsadmin.
>
> Example:
>   htpasswd -bc /usr/local/apache/conf/dnsadmin.passwd admin somepassword
>
>
> I got slightly ahead of myself when setting dnsadmin up.
>
> Stuart,
>
> -----Original Message-----
> From: Robert August Vincent II [mailto:[EMAIL PROTECTED]
> Sent: 28 May 2003 14:58
> To: O'Reilly, Stuart
> Subject: Re: [dnsadmin] Is there anybody on this mailinglist?
>
> Care to share?  Or are you to embarassed that you didn't see it in the
> first place?
>
> On Wed, May 28, 2003 at 02:33:56PM +0100, O'Reilly, Stuart wrote:
> > IGNORE.
> >
> > Found the answer
> >
> > Stuart,
> >
> > From: O'Reilly, Stuart [mailto:[EMAIL PROTECTED]
> > Sent: 28 May 2003 14:30
> > To: [EMAIL PROTECTED]
> > Subject: RE: [dnsadmin] Is there anybody on this mailinglist?
> >
> > I'm intrigued  by .htaccess file which gets installed:
> >
> > AuthType Basic
> > AuthUserFile /usr/local/apache/conf/dnsadmin.passwd      <--------
> > AuthName vQadmin
> > require valid-user
> > satisfy any
> >
> > The file dnsadmin.passwd does not exist on the system, nor does it get
> > created, nor does it exist in the source.
> >
> > There is however a dnsadmin.acl file which has username's and the
>
> level
>
> > of authority they have.
> >
> > Stuart,
> >
> > From: Max Andersen [mailto:[EMAIL PROTECTED]
> > Sent: 28 May 2003 14:09
> > To: [EMAIL PROTECTED]
> > Subject: Re: [dnsadmin] Is there anybody on this mailinglist?
> >
> > Yes, I figured, but after testing dnsadmin, I'm pretty embarrased.
> >
> > It can only do the following:
> >
> > add domain
> > add 3 nameservers
> > add 4 hosts with 4 ip-adresses
> >
> > nothing more.....can't even modify the domain except for the existing
> > records. not even create an mx-record........
> >
> > Seems I've waisted my time here :)
> >
> > Max
> >
> > From: "O'Reilly, Stuart" <[EMAIL PROTECTED]>
> > To: "'Max Andersen'" <[EMAIL PROTECTED]>
> > Sent: Wednesday, May 28, 2003 3:03 PM
> > Subject: RE: [dnsadmin] Is there anybody on this mailinglist?
> >
> >
> > Max,
> >
> >   Glad you got it working. You may want to find better permissions
>
> (777
>
> > allows everyone to read, write and execute the file).
> >
> > Stuart,
> >
> > From: Max Andersen [mailto:[EMAIL PROTECTED]
> > Sent: 28 May 2003 13:59
> > To: [EMAIL PROTECTED]
> > Subject: Re: [dnsadmin] Is there anybody on this mailinglist?
> >
> > I've made it work, but I've tried so many different things that I lost
> > track
> > of it all :(
> >
> > I will have to install a new testserver and write things down for
> > reference.
> >
> > The most important was : chmod 777 root (where root is
> > /etc/tinydns/root)
> >
> > I'll get back to you after install of second server :)
> >
> > Max
> > From: "O'Reilly, Stuart" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, May 28, 2003 2:14 PM
> > Subject: RE: [dnsadmin] Is there anybody on this mailinglist?
> >
> >
> > I was going to install dnsadmin a little while ago because I liked
>
> what
>
> > it could do.
> >
> > Do this on your rh7.3 box 'locate data.tmp' (without quotes).
> >
> > If you give me an hour or two I can setup a test box and stick
>
> dnsadmin
>
> > on it and see what happens.
> >
> > Stuart,
> >
> > From: Max Andersen [mailto:[EMAIL PROTECTED]
> > Sent: 28 May 2003 13:08
> > To: [EMAIL PROTECTED]
> > Subject: Re: [dnsadmin] Is there anybody on this mailinglist?
> >
> > You haven't installed dnsadmin?
> >
> > That's pretty cool, when on a dnsadmin mailinglist :)
> >
> > I haven't got a clue on where the data.tmp is generated, but I'm
>
> trying
>
> > to
> > figure it out.
> >
> > Maybe my 'bsd-like' install acts up on my linux rh 7.3
> >
> > But do you have a data.tmp anywhere on your system?
> >
> > Max
> > From: "O'Reilly, Stuart" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, May 28, 2003 1:08 PM
> > Subject: RE: [dnsadmin] Is there anybody on this mailinglist?
> >
> >
> > Max,
> >
> >   I've not installed dnsadmin so I'm working from guess work here.
>
> What
>
> > are the file permissions and ownership on the data.tmp file and where
>
> is
>
> > the data.tmp file being created (full path name).
> >
> > Regards,
> >
> > Stuart
>
> ----- Original Message -----
> From: "O'Reilly, Stuart" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 28, 2003 4:05 PM
> Subject: RE: [dnsadmin] Is there anybody on this mailinglist?
>
>
> It's in the INSTALL file:
>
> After you've created the directory, you will need to modify the
> .htaccess file in the cgi-bin/dnsadmin directory.
> This is so Apache knows how to authenticate users trying to access
> the directory.  You might need to change the permissions on the
> file. Some web servers want it only to be readable by the nobody
> user. Other systems (most that I've seen) want it readable by
> everyone, which is the default installation permission.
>
> Check the AuthUserFile path. The default is:
> AuthUserFile /usr/local/apache/conf/dnsadmin.passwd
>
> You may need to update this to point to your real apache conf directory.
>
> Now, create a user to log into dnsadmin.
>
> Example:
>   htpasswd -bc /usr/local/apache/conf/dnsadmin.passwd admin somepassword
>
>
> I got slightly ahead of myself when setting dnsadmin up.
>
> Stuart,
>
> -----Original Message-----
> From: Robert August Vincent II [mailto:[EMAIL PROTECTED]
> Sent: 28 May 2003 14:58
> To: O'Reilly, Stuart
> Subject: Re: [dnsadmin] Is there anybody on this mailinglist?
>
> Care to share?  Or are you to embarassed that you didn't see it in the
> first place?
>
> On Wed, May 28, 2003 at 02:33:56PM +0100, O'Reilly, Stuart wrote:
> > IGNORE.
> >
> > Found the answer
> >
> > Stuart,
> >
> > From: O'Reilly, Stuart [mailto:[EMAIL PROTECTED]
> > Sent: 28 May 2003 14:30
> > To: [EMAIL PROTECTED]
> > Subject: RE: [dnsadmin] Is there anybody on this mailinglist?
> >
> > I'm intrigued  by .htaccess file which gets installed:
> >
> > AuthType Basic
> > AuthUserFile /usr/local/apache/conf/dnsadmin.passwd      <--------
> > AuthName vQadmin
> > require valid-user
> > satisfy any
> >
> > The file dnsadmin.passwd does not exist on the system, nor does it get
> > created, nor does it exist in the source.
> >
> > There is however a dnsadmin.acl file which has username's and the
>
> level
>
> > of authority they have.
> >
> > Stuart,
> >
> > From: Max Andersen [mailto:[EMAIL PROTECTED]
> > Sent: 28 May 2003 14:09
> > To: [EMAIL PROTECTED]
> > Subject: Re: [dnsadmin] Is there anybody on this mailinglist?
> >
> > Yes, I figured, but after testing dnsadmin, I'm pretty embarrased.
> >
> > It can only do the following:
> >
> > add domain
> > add 3 nameservers
> > add 4 hosts with 4 ip-adresses
> >
> > nothing more.....can't even modify the domain except for the existing
> > records. not even create an mx-record........
> >
> > Seems I've waisted my time here :)
> >
> > Max
> >
> > From: "O'Reilly, Stuart" <[EMAIL PROTECTED]>
> > To: "'Max Andersen'" <[EMAIL PROTECTED]>
> > Sent: Wednesday, May 28, 2003 3:03 PM
> > Subject: RE: [dnsadmin] Is there anybody on this mailinglist?
> >
> >
> > Max,
> >
> >   Glad you got it working. You may want to find better permissions
>
> (777
>
> > allows everyone to read, write and execute the file).
> >
> > Stuart,
> >
> > From: Max Andersen [mailto:[EMAIL PROTECTED]
> > Sent: 28 May 2003 13:59
> > To: [EMAIL PROTECTED]
> > Subject: Re: [dnsadmin] Is there anybody on this mailinglist?
> >
> > I've made it work, but I've tried so many different things that I lost
> > track
> > of it all :(
> >
> > I will have to install a new testserver and write things down for
> > reference.
> >
> > The most important was : chmod 777 root (where root is
> > /etc/tinydns/root)
> >
> > I'll get back to you after install of second server :)
> >
> > Max
> > From: "O'Reilly, Stuart" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, May 28, 2003 2:14 PM
> > Subject: RE: [dnsadmin] Is there anybody on this mailinglist?
> >
> >
> > I was going to install dnsadmin a little while ago because I liked
>
> what
>
> > it could do.
> >
> > Do this on your rh7.3 box 'locate data.tmp' (without quotes).
> >
> > If you give me an hour or two I can setup a test box and stick
>
> dnsadmin
>
> > on it and see what happens.
> >
> > Stuart,
> >
> > From: Max Andersen [mailto:[EMAIL PROTECTED]
> > Sent: 28 May 2003 13:08
> > To: [EMAIL PROTECTED]
> > Subject: Re: [dnsadmin] Is there anybody on this mailinglist?
> >
> > You haven't installed dnsadmin?
> >
> > That's pretty cool, when on a dnsadmin mailinglist :)
> >
> > I haven't got a clue on where the data.tmp is generated, but I'm
>
> trying
>
> > to
> > figure it out.
> >
> > Maybe my 'bsd-like' install acts up on my linux rh 7.3
> >
> > But do you have a data.tmp anywhere on your system?
> >
> > Max
> > From: "O'Reilly, Stuart" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, May 28, 2003 1:08 PM
> > Subject: RE: [dnsadmin] Is there anybody on this mailinglist?
> >
> >
> > Max,
> >
> >   I've not installed dnsadmin so I'm working from guess work here.
>
> What
>
> > are the file permissions and ownership on the data.tmp file and where
>
> is
>
> > the data.tmp file being created (full path name).
> >
> > Regards,
> >
> > Stuart


Reply via email to