Current time: 11-25-2024, 07:36 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] Admin Login not working
Author Message
d4f Offline


Posts: 4
Joined: Feb 2009
Reputation: 0
Post: #1
[SOLVED] Admin Login not working
Hi,

I've just completed the x'th installation (but first installation on 1.0.0 stable) of Ispcp.
After following the installation instructions for the latest stable version for Debian Lenny to the note, I could not login to the admin panel.
Strangely when looking into the database I found out that the admin username was not (as specified during install) "admin" but rather a part of the password...
I tried to login with that new username and the specified password - didnt work.
So I updated through command-line the username to "admin" - still didnt work.
Afterwards I tried multiple times to resend the password. Works fine, I'm receiving the confirmation-email and the new admin token.
Login with the new details? Nada... doesnt work...

When taking a look at the database I see a strange thing:
the password seems to have been resettet to md5 instead of that fancy new encryption?

First password:
$1$G/T1Hy2M$6w5mS9LZzMootcMoj1Uym/ (some random characters replaced)
Current "token"-password:
cf9b57220cb6f4e45a5759c3b7622f2d


Now the big question - why? (doesnt login work)



PS: who enforced the 30sec cooldown between logins? It's driving me crazy (havent found the corresponding database setting yet Big Grin )
(This post was last modified: 08-03-2009 05:47 PM by d4f.)
08-03-2009 05:19 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Admin Login not working
md5 is ok - at least it also should work...

you can use pma to reset the admin user...

ispcp-lib.php:Config::set('BRUTEFORCE_BLOCK_TIME', 30);

/J
(This post was last modified: 08-03-2009 05:27 PM by joximu.)
08-03-2009 05:27 PM
Visit this user's website Find all posts by this user Quote this message in a reply
d4f Offline


Posts: 4
Joined: Feb 2009
Reputation: 0
Post: #3
RE: Admin Login not working
Unfortunately I couldn't get into PMA as the login doesn't work Sad
I'm currently doing everything per command-line.

I fixed the problem by reinstalling everything (the Installer seems to have missed 1/2 the database without the frontend complaining about it...)
The second time he got it right and _finally_ everything works Smile

Many thanks anyway for the very quick reply Smile

Btw: isn't block time the 30min interval between 3 unsucessful logins?
I've overriden that with "update login set login_count = 0, captcha_count=0;"
08-03-2009 05:45 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)