chpass(1) patch for changing only crypted passwords
Dag-Erling Smørgrav
des at des.no
Tue Sep 26 02:38:43 PDT 2006
Dmitry Morozovsky <marck at rinet.ru> writes:
> BTW, a question inspired by ru@: why pw_equal() skips password
> field? Its interface is unpublished, and the only consumers are
>
> marck at woozle:/lh/src.current> grep -Rl pw_equal .
> ./lib/libutil/libutil.h
> ./lib/libutil/pw_util.c
> ./release/picobsd/tinyware/passwd/pw_copy.c
> ./usr.bin/chpass/chpass.c
>
> and tyniware is false alarm ;)
IIRC, pw_equal() was originally intended for locating the entry to
replace when changing the password...
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-stable
mailing list