Password Change Not Working (with fix)

2 posts / 0 new
Last post
#1 Fri, 04/07/2006 - 15:24
andreychek

Password Change Not Working (with fix)

Howdy,

Using Webmin / Virtualmin Pro on my CentOS 4.3 box, I was running into the issue of users not being able to change passwords.

The error message received was:

Incorrect old password

After some poking around, it looks like the method used for testing the old password is to use the UNIX Crypt() function.

I suspect this breaks on newer systems that are using MD5 to store passwords, rather than crypt.

The solution I used to get around this was to log in Webmin as root, go to System->Change Password, and go into the Module Config. I chose to have it run a custom command to change the password, and I just made that custom command "/bin/passwd".

Have fun :-) -Eric

Tue, 08/22/2006 - 19:43
Joe
Joe's picture

Hey Eric,

Webmin should be using PAM for this stuff. If it isn't, the installer is broken somewhere...I'll have to look into it.

Thanks for the heads up.

--

Check out the forum guidelines!

Topic locked