Subject: Re: bin/4558: passwd erroneously requires -l flag if YP enabled
To: None <perseant@hitl.washington.edu>
From: Todd Vierling <tv@pobox.com>
List: netbsd-bugs
Date: 11/21/1997 13:39:20
: Work-around is to use "passwd -l" to change local passwords.  Proper fix would
: involve small but non-trivial changes to passwd.c to discover a local passwd
: entry if one exists, before blindly calling yp_passwd.
: 
: I haven't generated a patch because I'm unsure what the exact intended behavior
: is if no flag is specified ("if local exists change local else change yp"
: vs "if yp exists change yp else change local" vs the current
: "if yp exists change yp else barf").

See PR bin/4142; it addresses this and another similar trouble.

I have yet to hear any argument for or against the patch in that PR; I'd
love to hear it before I just commit the flippin thing and close the PR.  :)

=====
== Todd Vierling (Personal tv@pobox.com; Business tv@lucent.com)
== Vierling's Axiom: The revolution won't be televised; it will be posted.