On Mon, 17 Jun 2013 17:49:56 +0330
takCoder <tak.offic...@gmail.com> wrote:
> 
> I need to moderate the input password in my system's user interface. And I
> believe i have tested longer passwords than that, about 1000 characters
> long, and there was no limitations, via using this command in a /bin/sh
> test shell script : "echo PASSWORD | pw user mod USER -h 0".

If I remember well, any password longer than default size is truncated, so 
passwords

a) 'AhN12Njufsn8794432kjfvsnkkJHNDSMNDKh844mNJKnhjhu8u8424'
b) 'AhN12Njufsn8794432kj'

have the same salt hash value and both validate the user.

> Thank you :)

---   ---
Eduardo Morras <emorr...@yahoo.es>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to