Date: Mon, 25 Sep 2006 10:54:41 +0200 From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Dmitry Morozovsky <marck@rinet.ru> Cc: stable@freebsd.org Subject: Re: chpass(1) patch for changing only crypted passwords Message-ID: <868xk8tjfy.fsf@dwp.des.no> In-Reply-To: <20060925114102.F79983@woozle.rinet.ru> (Dmitry Morozovsky's message of "Mon, 25 Sep 2006 11:44:57 %2B0400 (MSD)") References: <20060925114102.F79983@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Morozovsky <marck@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 --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868xk8tjfy.fsf>