chpass(1) patch for changing only crypted passwords

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


Dmitry Morozovsky <marck at rinet.ru> 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.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-stable mailing list