passwd admin not working

dmacleo

Verified User
Joined
Jun 21, 2012
Messages
620
trying to help recover DA admin password for friend on his server ( its one I setup for him, totally legit here) and we cannot use the email recovery option due to email from server also not working.
so I did the normal passwd admin from shell and restarted directadmin service yet DA not accepting the new password.
I've tried a few times using known older password, the password that was used for initial setup, and a few brand new ones.
nothing works.

any thoughts?
 
well passwords have been changed using passwd admin here before with no issues on this server.
some digging last night is leading me to believe theres an underlying drive issue, but the owner is out of town for a bit and cannot do much (no access at all to internet) so I am trying to help as much I can.
 
If it worked ok before, it should work ok now too. It might indeed be a drive issue in that case.
When you make a password change using passwd admin, is the /etc/passwd file touched, no strange characters in the passwd file which shouldn't be there?

You could also test for drive problems with smartd.
Code:
smartctl -H /dev/sda
and try to have error listed if present:
Code:
martctl -l error -d ata /dev/sda
 
If a password file can not be updated, then the reason might be in a file system which is probably mounted in a read-only mode, to check this, run:
Code:
cat /proc/mounts
you don't need root access to run this command. If the command output does not make any sense to you, please feel free to post it here, so one of us could interpret it for you.
 
waiting on him to get back so he can open ticket with the dedicated host and hook up akvm.
there are some underlying issues here (and I know there are now mount issues) I need to work out first.
 
hes still sick so have not heard back but finally found the drives were full.
deleted old sessions and old backups, reset password and stuff running again.
 
Back
Top