From owner-cvs-usrbin Tue May 7 14:05:31 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA07289 for cvs-usrbin-outgoing; Tue, 7 May 1996 14:05:31 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA07263 Tue, 7 May 1996 14:05:17 -0700 (PDT) Date: Tue, 7 May 1996 14:05:17 -0700 (PDT) From: Bill Paul Message-Id: <199605072105.OAA07263@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/chpass pw_yp.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/05/07 14:05:16 Modified: usr.bin/chpass pw_yp.c Log: In use_yp(), call _yp_check() to make ultra, super-duper sure that NIS is available before trying to go hunting for a domain name. This fixes the following problem: you have +::::::::: in /etc/master.passwd but NIS isn't running (no ypbind, no domain name set) -- passwd and chpass will still try to change an NIS password instead of the local one. Revision Changes Path 1.5 +3 -2 src/usr.bin/chpass/pw_yp.c