From owner-cvs-usrbin Fri Sep 1 21:02:38 1995 Return-Path: cvs-usrbin-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id VAA23171 for cvs-usrbin-outgoing; Fri, 1 Sep 1995 21:02:38 -0700 Received: (from wpaul@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id VAA23161 ; Fri, 1 Sep 1995 21:02:30 -0700 Date: Fri, 1 Sep 1995 21:02:30 -0700 From: Bill Paul Message-Id: <199509020402.VAA23161@freefall.FreeBSD.org> To: CVS-commiters, cvs-usrbin Subject: cvs commit: src/usr.bin/passwd local_passwd.c passwd.c yp_passwd.c Sender: cvs-usrbin-owner@FreeBSD.org Precedence: bulk wpaul 95/09/01 21:02:29 Modified: usr.bin/passwd local_passwd.c passwd.c yp_passwd.c Log: Bug fix: use the use_yp() function in the chpass(1) code to determine correctly whether a user is local or NIS (or both, or neither). If you have a user that exists locally but not in NIS, passwd(1) could get confused and try to submit the password change to NIS. (Fortunately, yppasswdd is smart enough to spot the error and reject the change.) Bug reported by: Charles Owens