Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™
Author Message
BlindFool
New Member
New Member


Joined: Mar 17, 2004
Posts: 9
Location: Surrey, UK

PostPosted: Wed May 04, 2005 12:23 pm Reply with quote

I've just installed Sentinel and all seemed to be good until I tried to check the sentinel admin and it asked for a login and password to "Restricted" of which I assumed that the admin login was relevent and yet it doesn't work?

How can I find out what the user/pass should be (Is it stored in the database?).
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
BobMarion
Former Admin in Good Standing


Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)

PostPosted: Wed May 04, 2005 11:15 pm Reply with quote

Did you add code into your .htaccess file like:
Code:
# -------------------------------------------

# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .staccess>
  deny from all
</Files>

<Files admin.php>
   <Limit GET POST PUT>
      require valid-user
   </Limit>
   AuthName "Restricted"
   AuthType Basic
   AuthUserFile /path/to/your/.staccess
</Files>

# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------


If you did you need to remove it until you have CGI Auth completed in the NukeSentinel AuthAdmin section.

_________________
Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
BlindFool
PostPosted: Thu May 05, 2005 12:07 pm Reply with quote

I removed the code (seems it already came with it in the file) and everything seems ok, but now I don't get the popup box with password on trying to access the admin area?

Do I need to readd the code?
 
BlindFool
PostPosted: Thu May 05, 2005 1:18 pm Reply with quote

OK, I've tried adding the following code;
Code:
# -------------------------------------------

# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .staccess>
deny from all
</Files>

<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted by NukeSentinel(tm)"
AuthType Basic
AuthUserFile /usr/local/psa/home/vhosts/blindfool.me.uk/httpdocs/.staccess
</Files>
# -------------------------------------------
# End of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
to the .htaccess file and the popup with the user/pass is now appearing again, however as before it won't recoginise my username and password.

I've set the adminauth to Admin CGIAuth with no changes, I've also set my admin with a password but to no avail...

Please help, I think I'm going mad here
 
BobMarion
PostPosted: Thu May 05, 2005 6:20 pm Reply with quote

Goto admin.php?op=ABAuthList on your site. There you set the passwords used SOLELY with NukeSentinel security. These ARE NOT the same as your nuke admin login. Once you set them for all admins you will then have a link to write the data to your .staccess file (MUST be CHMOD 666). Once those are written to the file you can then add the code to your htaccess file.
 
BlindFool
PostPosted: Fri May 06, 2005 2:37 am Reply with quote

OK, found it, thank you ever so much for your help.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©