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
DemonLord
New Member
New Member


Joined: Mar 26, 2005
Posts: 8

PostPosted: Tue Mar 29, 2005 12:40 am Reply with quote

Ok I know this is a newb ?? but I have seen information about god account for some of the links in sentinal that can only be used by the god account and have also seen in the admin panel edit admins that the god account cannot be deleted. Ok now here is the newb ?? of them all cause i cant find it ne where......How do I create a GOD account? My original install of nuke was done from cpanel on my host under fantastico so it was automaticaly. So for every thing I have learned about nuke so far i have yet to figure out how to make a God account for nuke admin. And I cannot acsess some of the links in sentinel admin. Says only god accounts can acsess. Thanks. Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Tue Mar 29, 2005 7:20 am Reply with quote

The God account is the first Admin user created apon install. Sometimes people change the "name" from God to whatever and there is a conflict when a script is designed to limit access based on that name.

As for Nuke-Sentinel there is a line commented out that can be used to replace the God based access with SuperAdmin access. Meaning any admin with SuperAdmin status can access those functions that are limited to god by default.

In the includes/sentinel.php

Find function is_god($admin)
Remove the // from this line and put them in front of the next line.
//if((strtolower($admrow['name']) == "god" OR $admrow['radminsuper'] == 1) AND $admrow['pwd']==$apwd) { return 1; }
if(strtolower($admrow['name']) == "god" AND $admrow['pwd']==$apwd) { return 1; }

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
DemonLord
PostPosted: Tue Mar 29, 2005 5:24 pm Reply with quote

HMM...Ok I will try that. I was just wondering cause the admin panel said that god accounts could not be deleted and last thurs. my site was hacked and they got into admin panel and deleted all my admins...even the admin I created when I installed nuke from fantastico. I will try that scripts edit and see if I can accsess the links in sentinel that are for god admins only. Thanks.
 
sixonetonoffun
PostPosted: Tue Mar 29, 2005 6:24 pm Reply with quote

Maybe you'd best back up a little there. Make sure by checking with phpmyadmin that the nuke_authors table only contains valid users that you personally created. I would also verify the prescribed passwords work for those that you did create.
 
DemonLord
PostPosted: Wed Mar 30, 2005 8:51 pm Reply with quote

Ya I checked they all good. Plus we went back to a backup that was over a month old and done a complete restore. And after we checked everything I installed sentinal. Smile One problem i did run into is my who is where block. I had to reinstall it and I reinstalled it after I installed sentinel and the who is where block is not working now. The block shows up fine with no errors but not showing users or visitors that are on the site.
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Wed Mar 30, 2005 10:11 pm Reply with quote

The 2 should not be related. Check your server error log to see if there are any errors being posted.
 
View user's profile Send private message
artificially
New Member
New Member


Joined: Feb 15, 2005
Posts: 9
Location: Kentucky

PostPosted: Sat Apr 23, 2005 2:01 pm Reply with quote

Okay - I have same problem, but in 7.5 with 2.9 patch. Fantastico so neither of us are gods but super users. I did what you said sixonetonoffun about taking out // and it's still not recognizing us as admin...yes, I checked myphpadmin and it shows us only as the authors...any ideas?

I know I found a fix for this last year but now I am not finding anything.

Thanks.
 
View user's profile Send private message Visit poster's website
Raven
PostPosted: Sat Apr 23, 2005 2:08 pm Reply with quote

If you mean that your NAME column in the authors table is NOT God, just use phpMyAdmin and modify it.
 
artificially
PostPosted: Sat Apr 23, 2005 2:28 pm Reply with quote

Okay we did that and he still can't make sentinel do a thing. It's not recognizing any admins not even God...Is God gonna have to reinstall it or what... Sorry he's driving me nuts...any help you can offer is appreciated.
 
Raven
PostPosted: Sat Apr 23, 2005 4:35 pm Reply with quote

If you are using the 2.9 patch then you need to make several changes as described in the NukeSentinel(tm) README. Have you made those changes? Also, see this post Only registered users can see links on this board! Get registered or login!
 
artificially
PostPosted: Sat Apr 23, 2005 4:47 pm Reply with quote

it's ok god got it
 
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 ©