"Failed to change password" Error

When a user attempts to change their password using Usermin, they're getting the following error:

Failed to change password : /usr/local/webmin/virtual-server/change-password.pl user\\.domain\\.com failed:

Error: Script was not run with full path (failed to find /usr/local/webmin/virtual-server/change-password.pl under )

-----
Script was not run with full path (failed to find /usr/local/webmin/virtual-server/change-password.pl under )
-----

(obviously, I changed the user's name and domain in the above error message)

I didn't see any references to this error elsewhere in the forums. Any thoughts?

Status: 
Closed (fixed)

Comments

Joe's picture
Submitted by Joe on Wed, 07/08/2009 - 00:15 Pro Licensee

I'm not sure what to make of this one. I'm assigning to Jamie. I've never seen this behavior before.

Oh, I know what the cause is here .. on FreeBSD, we don't use /etc/webmin as the configuration directory, but that script change-password.pl expects it.

The fix is to edit /usr/local/etc/usermin/changepass/config and change the passwd_cmd line to :

passwd_cmd=virtualmin change-password

I'll make this the default in the next release.

Automatically closed -- issue fixed for 2 weeks with no activity.