Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



thorpej
Tue Nov 26 15:35:40 PST 1996
Update of /cvsroot/src/usr.bin/passwd
In directory netbsd1:/var/slash-tmp/cvs-serv6351

Modified Files:
        passwd.c yp_passwd.c 
Log Message:
Fix a semantic problem reported by Chuck Cranor:

If a user wishes to change a password on a system running YP, and
the master server is not running rpc.yppasswdd, passwd(1) would fail,
even if the user had a local entry.  Fix this by checking for local
entry if master is not running rpc.yppasswd iff we defaulted to using
YP (not invoked as "yppasswd" or with "-y").


thorpej
Tue Nov 26 15:38:45 PST 1996
Update of /cvsroot/src/usr.bin/chpass
In directory netbsd1:/var/slash-tmp/cvs-serv6938

Modified Files:
        chpass.c pw_yp.c 
Log Message:
Fix a semantic problem reported by Chuck Cranor:

If a user wishes to change a password on a system running YP, and
the master server is not running rpc.yppasswdd, chpass(1) would fail,
even if the user had a local entry.  Fix this by checking for local
entry if master is not running rpc.yppasswd iff we defaulted to using
YP (not invoked with "-y").

XXX Unlike the similar change to passwd(1), this one duplicates some
XXX code (makes an attempt to contact rpc.yppasswdd early).  This is
XXX a side-effect of the structure of this program.  chpass(1) could
XXX use a re-write.




Home | Main Index | Thread Index | Old Index