I'm an idiot!!

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
