freebsd-dev/usr.bin/passwd
wpaul 9661fab917 Fix a core dump condition I discovered the other day (right
after I installed the last SNAP :). Because of the way the 'use NIS
or local?' logic is set up here, it was possible to force the use
of the NIS password changer even though the specified user didn't exist
in NIS (i.e. # passwd foo, where foo is a local-only user). In this
case, we fall intp yp_passwd() without the corresponding yp_password
structure being filled in, which leads to an NULL pointer dereference.

Also fixed the logic like I just did with chpass so that if the user
is both in NIS and the local password database, the program makes a
more sensible guess as to which one to use (if NIS is turned on in
/etc/master.passwd, then use NIS, else default to local).
1996-10-23 14:50:30 +00:00
..
extern.h Update for new kpasswd interface. 1995-01-20 22:03:36 +00:00
local_passwd.c Implement incremental passwd database updates. This is done by ading a '-u' 1996-07-01 19:38:50 +00:00
Makefile Merge in changes to support the new rpc.yppasswdd(8) and fix a few bugs. 1996-02-23 16:08:59 +00:00
passwd.1 Add synopsis for yppasswd. 1996-08-24 23:27:04 +00:00
passwd.c Fix a core dump condition I discovered the other day (right 1996-10-23 14:50:30 +00:00
yp_passwd.c Reset password change time to zero. (This has no effect with standard 1996-09-05 15:57:41 +00:00