diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1996-05-07 21:05:12 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1996-05-07 21:05:12 +0000 |
| commit | 346a63c95a04ba84385c7ffbf97538523c4885f1 (patch) | |
| tree | 18d7a8474a3c1e25738bfc19603f85ae58d11239 /chpass/chpass.c | |
| parent | 67c956f4295255e54027c4a05528dccc9d027fdb (diff) | |
| download | pw-darwin-346a63c95a04ba84385c7ffbf97538523c4885f1.tar.gz pw-darwin-346a63c95a04ba84385c7ffbf97538523c4885f1.zip | |
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.
Diffstat (limited to 'chpass/chpass.c')
0 files changed, 0 insertions, 0 deletions
