chpass(1) patch for changing only crypted passwords

Dag-Erling Smørgrav des at
Mon Sep 25 01:54:51 PDT 2006

Dmitry Morozovsky <marck at> writes:
> chpass is a bit broken since chpass.c:1.23 - it uses pw_equal which
> does not check crypted password field; so, you can not change _only_
> crypt pass with chpass. Attached patch fixes this.

Looks fine to me, feel free to commit.

Dag-Erling Smørgrav - des at

More information about the freebsd-stable mailing list