Commit Graph

11 Commits

Author SHA1 Message Date
cjs 938125b32e PR 3081: segfault due to reversed test.
Fix from Todd Kover <kovert@omniscient.com>.
1997-01-05 10:06:40 +00:00
thorpej 97fdc79a5e Fix a semantic problem reported by Chuck Cranor:
If a user wishes to change a password on a system running YP, and
the master server is not running rpc.yppasswdd, chpass(1) would fail,
even if the user had a local entry.  Fix this by checking for local
entry if master is not running rpc.yppasswd iff we defaulted to using
YP (not invoked with "-y").

XXX Unlike the similar change to passwd(1), this one duplicates some
XXX code (makes an attempt to contact rpc.yppasswdd early).  This is
XXX a side-effect of the structure of this program.  chpass(1) could
XXX use a re-write.
1996-11-26 23:38:42 +00:00
thorpej 51956e9393 Slight semantics change: ALWAYS use YP if the system is bound to a
YP server.  This is required if the passwd database is to stay in sync
if this program is run on the YP server.  Note, local passwd database
operations can still be performed by passing the -l flag.
1996-08-09 09:22:11 +00:00
jtc 370990b210 Updated to use new password file functions in libutil.
From Greg Hudson <ghudson@MIT.EDU>.
1996-05-15 21:50:39 +00:00
phil 72065007ac Improvements to YP support from Jason Downs. 1995-07-28 07:01:32 +00:00
jtc b1f21ab226 Remove unnecessary sys/signal.h header 1995-06-26 23:43:06 +00:00
glass 7659edad1f merged with 4.4Lite 1995-03-26 04:55:22 +00:00
deraadt af080bda6b tabs 1994-08-17 19:54:39 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
brezak 96267d0e22 Add YP support. 1993-06-11 00:34:38 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00