Submitted by SteveAcup on Sat, 01/09/2010 - 09:39
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
Submitted by SteveAcup on Sat, 01/09/2010 - 13:42 Comment #1
Changing user details as a user in usermin also fails with this error:
Failed to change details : chfn: edit(): No such file or directory
Submitted by SteveAcup on Sat, 01/09/2010 - 16:08 Comment #2
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 )
Submitted by JamieCameron on Sat, 01/09/2010 - 19:46 Comment #3
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 ..
Submitted by SteveAcup on Sun, 01/10/2010 - 12:23 Comment #4
Thanks... that fixed it.
Submitted by JamieCameron on Mon, 01/11/2010 - 15:33 Comment #5
Great!
Submitted by Issues on Tue, 01/26/2010 - 19:20 Comment #6
Automatically closed -- issue fixed for 2 weeks with no activity.