On Tue, 26 Sep 2006, Dag-Erling Sm?rgrav wrote: DS> Dmitry Morozovsky <[EMAIL PROTECTED]> writes: DS> > BTW, a question inspired by ru@: why pw_equal() skips password DS> > field? Its interface is unpublished, and the only consumers are DS> > DS> > [EMAIL PROTECTED]:/lh/src.current> grep -Rl pw_equal . DS> > ./lib/libutil/libutil.h DS> > ./lib/libutil/pw_util.c DS> > ./release/picobsd/tinyware/passwd/pw_copy.c DS> > ./usr.bin/chpass/chpass.c DS> > DS> > and tyniware is false alarm ;) DS> DS> IIRC, pw_equal() was originally intended for locating the entry to DS> replace when changing the password...
Ah yes, pw_copy() uses it internally, and seems to have to skip password field checking. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] *** ------------------------------------------------------------------------ _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"