PDA

View Full Version : (VDSManager) Did Something Stupid & Need to Reset Password


n9xcr
02-27-2010, 01:41 AM
I was logged in as the default admin user and tried changing the login name and password of admin. I was immediately booted and cannot log in with 'admin' or the new user name I tried to make it. What do I need to do? :rolleyes:

Thanks in advance!
Chris

slava
02-27-2010, 05:47 AM
Password hash is stored in the /usr/local/ispmgr/etc/vdsmgr.conf in the line such as

User admin $2a$01$OOXSshjgds

You can take hashed password known to you (for example from a file /etc/shadow) and to enter in the ispmgr.conf and then restart vdsmgr by 'killall vdsmgr' command

And after that can enter into the panel through the web interface

n9xcr
02-27-2010, 04:03 PM
Thank you! :)

I discovered after looking at the file that I hadn't actually screwed anything up as bad as I thought. It changed the user name and password, but I thought I had capitalized two of the letters in the user name. Everything was lower-case when I looked at the file.

Thanks again!
Chris