Usermin user cannot change password

When a usermin user tried to change their password, they get this error:

Error - Perl execution failed

Cannot create a new IO::Tty from fd 6: Bad file descriptor at /usr/local/usermin/proc/proc-lib.pl line 270

The user can read and send mail, and other functions appear to work properly.

Status: 
Closed (fixed)

Comments

Changing user details as a user in usermin also fails with this error:

Failed to change details : chfn: edit(): No such file or directory

I updated perl to 5.10 and updated all the dependencies. I no longer get the IO::Tty error. Changing users details works now.

But, when I try to change a password as a user in usermin, I get this error after the box asking for old and new passwords:

Failed to change password : /usr/local/webmin/virtual-server/change-password.pl steve 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 )

To fix this last problem, edit the file /usr/local/etc/usermin/changepass/config and change the passwd_cmd line to :

passwd_cmd=virtualmin change-password

This is the default now in new Virtualmin installs ..

Thanks... that fixed it.

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