http://bugzilla.novell.com/show_bug.cgi?id=535617
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535617#c6
Jiří Suchomel
(In reply to comment #4)
(In reply to comment #3)
Hm, actually I've set the min length through YaST to 4, and the result is:
password: minlen=4
However, when I enter a password with 5 letters, I get an error that the password is too short:
Michael, can you comment this?
After looking into the code I found out that the absolute minimal length of a password is "5". All numbers entered below 5 will be set to 5.
# define CO_MIN_LENGTH_BASE 5 opt->min_length = strtol(*argv+7,&ep,10); if (!ep || (opt->min_length < CO_MIN_LENGTH_BASE)) opt->min_length = CO_MIN_LENGTH_BASE;
Maybe the yast module should allow only numbers >= 5 here.
Well, that would be possible, but isn't the code above actually a bug? Why couldn't user set the length to lower value? Anyway, user don't have to use YaST: # pam-config -a --cracklib # pam-config -a --cracklib-minlen=3 # pam-config -q --cracklib password: minlen=3 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.