neither old or new password not work

parsajax

Verified User
Joined
Jun 11, 2008
Messages
20
neither old nor new password not work

hi
i have a new problem with da after upgrade debian server to squeeze
my users cant login to DA after change password with neither new nor old password
but it possible to connect to ftp with new password.
please help me
 
Last edited:

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,889
Location
GMT +7.00
Hello,

you should read and learn directadmin error log located in /var/log/directadmin/
and of course make sure directadmin is running OK (even try to restart it).
 

parsajax

Verified User
Joined
Jun 11, 2008
Messages
20
it is runing because the unchanged user can log into da.
but when i change a user account passwd i can log into it by neither old nor new passwd
i also able to log to that account via ftp
i also change account password via ssh but i can log into that account through da

in da log file there are noting wrong or alerted about it
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,889
Location
GMT +7.00
What if you try to change password as admin via Directadmin for the problematic user account? Or to try to restore it with a help of "restore forgotten password" function of Directadmin?

My guess would be with upgrade to squeeze a method of encrypting of passwords changed and that's why you can not login. I don't know how to check it in Debian, so try to check what algorithm is set as default and change it to MD5 at least for testing purposes.
 

parsajax

Verified User
Joined
Jun 11, 2008
Messages
20
thank for replay
do you know which scrip in da does change password ? i want path of it
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,889
Location
GMT +7.00
I' m not sure but you can try to find it here /usr/local/directadmin/scripts/
 

parsajax

Verified User
Joined
Jun 11, 2008
Messages
20
i saw that folder`s scripts
there were more than 20 scripts. which of theme do it?
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,889
Location
GMT +7.00
I doubt directadmin is using any of them, if you want to try one of them just find one with the most suitable name, I don't get the list in my memory. But what you gonna do with the script?

If I'm not mistaken Directadmin encrypts all passwords with MD5 algorithm, so post here results of:

Code:
cat /etc/shadow | cut -d: -f2 | cut -d$ -f 2 | grep -v \! | grep -v \*
I've found with Google:

By default, Debian 6.0.x Squeeze apparently uses SHA-512 with a salt which is a publically known 8 char string.
So you might need to switch to MD5 at least for testing purposes.
 

parsajax

Verified User
Joined
Jun 11, 2008
Messages
20
so what must i do? is it need to force da to use sh-512?
 
Last edited:

parsajax

Verified User
Joined
Jun 11, 2008
Messages
20
thank for your help
the problem has been solved by updating DA from administrator panel
 
Top