|
From: James T. <ja...@ci...> - 2002-02-13 11:11:06
|
What are the permissions of the appropriate files. I found that sql-ledger did this to me. Okay you are but a gnats whisker (do they have whiskers I thought they had probosci) from getting it going. Unfortuantely you are going to have to compromise your security for a while. at the commandline from the sql-ledger directory as the owner or su enter: chmod 777 users/memebers You may have to do this with the directory itself. chmod 777 users and hey presto your security is completely compromised. Also who does apache run as. You MAY find that it is as 'nobody' or 'apache' it is best that you match the two up. or even set it to nobody. after you have you db set up and users made, play with making it the permissions more secure until you break it again. BTW I do not reccomend doing any of this over an unsecured internet connection. Regards James ----- Original Message ----- From: "Lee Kimber" <lee...@ki...> To: "Joe MacDonald" <jam...@hw...>; "Lee Kimber" <le...@ki...> Cc: <sql...@li...> Sent: Wednesday, February 13, 2002 2:00 AM Subject: Re: SQL Ledger on Red Hat anyone? > Wow! You folks are amazing! I'm on the Linux Router Project mailing list > and even that doesn't produce so many responses so quickly. > > OK, I've got to fess up to one of those doh moments here. I forgot to put > the forward slash before "usr" in one of the httpd.conf lines... > > However, now that I have done that, hitting > http://127.0.0.1/sql-ledger/admin.pl returns me a red "Error!" followed by > a line of black text saying: > > "Permission denied: users/members" > > Mmmm, I've run "chown nobody:nobody users templates" and I can see that a > user and group called 1000 own most of these files, including admin.pl. > > If I've understood this correctly, this is the script I need to run to set > up users and members so I'm a bit stuck here. > > Thanks for any ideas. > > Lee > > At 02:36 PM 2/12/2002 -0800, Joe MacDonald wrote: > >I got it running with out any problems. > > > >As long as your permissions are correct and apache is setup to run perl > >scripts then you should be okay. > > > >I found that putting an index.html file in your /sql-ledger directory > >helps with resolving any path and permission problems. Then just have a > >link in the index.html file that points to login.pl > > > >Good Luck > > > >Joe MacDonald > > |