|
From: Jamie C. <jca...@we...> - 2002-09-20 00:40:32
|
The passwd command usually does call PAM to make the change, so any restrictions set up in /etc/pam.d/passwd will apply to it as well. Do you get these same errors when a non-root user changes his password at the command line? If so, edit /etc/pam.d/passwd and remove the line like : password required pam_cracklib.so type=user retry=3 to totally turn off password strength checking. - Jamie ian forsyth wrote: > This is the error I get.. > > > Failed to change password : /usr/bin/passwd failed : > > Changing password for ian > (current) UNIX password: New UNIX password: BAD PASSWORD: is too similar > to the old one > New UNIX password: BAD PASSWORD: is too similar to the old one > New UNIX password: BAD PASSWORD: is too similar to the old one > passwd: Authentication token manipulation error > > i changed it to /usr/bin/passwd .. is it still somehow using pam? Would > these errors be logged by usermin? > > Regards, > Ian > > Jamie Cameron wrote: > >> ian forsyth wrote: >> >>> usermin version 0.95 >>> webmin version 1.0 >>> >>> redhat version 7.2 >>> >>> Before I upgrade to webmin 1.0 the usermin change password module >>> worked well... Since upgrading to webmin 1.0 and usermin 0.95, I have >>> not been able to change the password through usermin.. only at the >>> command line or via webmin/systems/changepassword module.. the change >>> password module is set to use PAM.. >>> >>> i tried the following as a password.. 1luTh=v and got the error.. 'to >>> similar to dictionary word'.. I checked /etc/login.defs and could not >>> find a setting for password complexity... Since upgrading usermin and >>> webmin I have not been able to change the password using usermin.. >>> every password nomatter the complexity or simplicity fails.. >>> >>> What am i missing, what to i need to change.. ? >> >> >> >> >> Sounds like PAM on your system is being rather silly in enforcing >> password >> complexity. Try switching usermin to use the 'passwd' command instead by >> going into Webmin -> Usermin Configuration -> Usermin Module >> Configuration -> >> Change Password and setting the 'Command to change password' to >> /usr/bin/passwd >> >> - Jamie |