02-27-2010, 01:41 AM | #1 |
Junior Member
Join Date: Feb 2010
Posts: 2
|
(VDSManager) Did Something Stupid & Need to Reset Password
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?
Thanks in advance! Chris |
02-27-2010, 05:47 AM | #2 |
ISPsystem team
Join Date: May 2008
Location: ISPsystem
Posts: 588
|
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 |
02-27-2010, 04:03 PM | #3 |
Junior Member
Join Date: Feb 2010
Posts: 2
|
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 |
|
|