Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: AaronW on June 17, 2010, 12:12:57 PM
-
I'm an idiot!! :D
Some how last week while trying to get a remote reset script to work with PHP I have buggered up the admin accounts access to Server-Manager and PHPMyAdmin!
I can still use the admin account through the shell and have reset both the root and admin password using passwd however I still get access denied when loggin into server-manager
as a work around for PHPMyAdmin I have installed the multi user version but it has not solved my SM issue.
I have back tracked my setting changes, which was mostly to change the sudo settings to enable the www account to execute a script as root, however it has not helped!
I may have missed something or it may be unrelated to my fiddling last week!
Please help! I'm near out of ideas and a rebuild seems a little drastic at this stage!
Aaron :???:
-
You do not give us any clues to work on. You should try and describe more specific what you try. Also have a look in the /var/log/httpd/admin_error_log file, perhaps a clue might be in there.
-
I have back tracked my setting changes, which was mostly to change the sudo settings to enable the www account to execute a script as root, ...
That's quite a bad idea.
-
That's quite a bad idea.
Then what would be a more secure way of allowing the www account to execute a script that requires higher permissions?
Also, in /var/log/httpd/admin_error_log :
[Thu Jun 17 19:49:11 2010] [error] [client 127.0.0.1] Could not open pipe to pwauth: Permission denied at /etc/e-smith/web/common/cgi-bin/login line 59., referer: https://server/server-common/cgi-bin/login
-
So at this point I'm wondering what permissions are needed to be in place so that it can have the appropriate access.
Does anyone know?
-
:-P Sorted it out, as I suspected it was LOOSER ERROR!!
Some how I changed the Group file /etc/group and the value for www to : www:x:10:admin when it should have been www:x:102:admin.
All good now! :lol: