reset admin password in ubuntu

dannygoh

Verified User
Joined
Feb 9, 2004
Messages
391
Location
Malaysia
How do i reset the admin password?

when i'm in centos, i just used passwd admin and can login to directadmin
 
No you never reboot for something like that.

You might want to check error logs.

/var/log/directadmin
 
If you can log into your shell account with your new admin password but still need the old password to use the DirectAdmin control panel, then try using the old password to log in to DirectAdmin. If that works, then use the change password feature in DirectAdmin to change to your new password.

Let us know if that works.

Jeff
 
Hello,

The correct method is to run
Code:
passwd admin
through ssh as root. Note that once in DA you'll want to reset your password again using DA, since there are other ares (email, databases, ftp) that need to be synced up.

If you reset the admin pass through ssh, and you can ssh in as admin with the admin password.. but cannot login to DA, then use this guide:
http://help.directadmin.com/item.php?id=179

usually, it's a full disk, or something is broken.

This might also be useful:
http://help.directadmin.com/item.php?id=293

John
 
As followup, this was the related issue and solution:
http://help.directadmin.com/item.php?id=248

Note that for this case, after resetting the logins.def to use MD5 instead of SHA-512, the chpasswd command must be used, and not the passwd command. The passwd will continue to save the passwd in the SHA-512 format. The binaries for Debian 4 do not support SHA-512. I believe the Debian 5 DA binaries do support SHA-512, so it's not an issue.

John
 
Back
Top