summaryrefslogtreecommitdiffstats
path: root/chpass/field.c
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1995-09-02 03:56:21 +0000
committerBill Paul <wpaul@FreeBSD.org>1995-09-02 03:56:21 +0000
commit30955b898350ac476a47d83662e9679de21eb4e0 (patch)
treefe85eaa8e0b56e1f3b289fcd543dab08a04dd2e6 /chpass/field.c
parent73f5cfe48aa896d40905726d22fe1354a0608d6a (diff)
downloadpw-darwin-30955b898350ac476a47d83662e9679de21eb4e0.tar.gz
pw-darwin-30955b898350ac476a47d83662e9679de21eb4e0.zip
Make use_yp() smarter about figuring out whether a user is local or
NIS (or both, or neither). Also add support for -l and -y flags to force behavior to local or NIS. use_yp() also goes out of its way to retrieve the correct password database information (local or NIS) depending on what the situation since getpwent() & co. can't necessarily be trusted in some cases. Also document new flags in man page.
Diffstat (limited to 'chpass/field.c')
0 files changed, 0 insertions, 0 deletions