Can't login as admin after logging in as user

Tereadia

Verified User
Joined
Feb 25, 2009
Messages
5
I logged in at the user level once and now it refuses to let me login at the admin level. I go to the standard login screen and it tells me "wrong username and password" for admin even with the correct username and password for the admin, but I can login under one of the users.
I even cleared my cache, since I noticed when I go to my directadmin address it automatically adds an "/CMD_LOGIN" to the end of it. No luck. Any suggestions would be appreciated. =)
 
Login as admin first then switch to user level. If you cant login check /var/log/directadmin/error.log or change the users password with the passwd command on the shell.
 
I logged in at the user level once and now it refuses to let me login at the admin level.

I had this happen to me once. I think it was after logging in as admin, then logging in as a user via DA and protecting one directory with the user being "admin". Clearly something, somewhere, got overwritten, although it's difficult to imagine how creating a .htpasswd for a regular user would have anything to do with the admin account.

Couldn't login even using another browser (eliminating any cache or cookie issues). To solve it, I logged in via SSH as root and changed the admin's password, using the same, old password:

Code:
# passwd admin

Let us know if you get it solved, Tereadia.
 
Back
Top