Welcome, Guest
Please Login or Register.
Lost Password?
Re: Password Change Not Working (with fix) (1 viewing)
Post Reply

TOPIC: Re: Password Change Not Working (with fix)

#1694
andreychek (Moderator)
Posts: 860
graphgraph
Password Change Not Working (with fix) 2006/04/07 15:24  
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
  The administrator has disabled public write access.
#2597
Joe (Admin)
Posts: 4213
graph
Re: Password Change Not Working (with fix) 2006/08/22 19:43  
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.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.