Bugs: password truncate at 16 char when using newpass command

Jean-François Gingras ffej53 at hotmail.com
Tue Jun 15 12:46:59 CST 2004

I noticed that the newpass command in cmds.c truncate password to 16 chars instead of 30 like pass_set in userent.c
It's nothing, simply change 'strlen(new) >16' to 'strlen(new) > 30' and 'new[16] = 0;' to 'new[30] = 0;'

Well I guess It will correct the 'bug' I'll test it right away!

Jean-Francois Gingras

More information about the Bugs mailing list