Commit Graph

21 Commits

Author SHA1 Message Date
cgd
a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
ad
34e4fc5261 - Pull in pwd.h since `struct passwd' is now used in extern.h.
- Use pwd_gensalt().
2000-07-06 11:19:39 +00:00
matt
fcd0fb118f Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
2000-07-03 02:51:12 +00:00
simonb
d88dfea295 Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
joda
d8c128f4a5 use NULL 2000-03-01 12:46:36 +00:00
aidan
919f6272de Modularize password changing mechanisms, as proposed in
<20000130122641.A8134@xanadu.kublai.com>:
Subject: PROPOSAL: making passwd pluggable (sort of)
Date: Sun, 30 Jan 2000 12:26:41 -0500
2000-02-14 04:36:20 +00:00
aidan
b817536785 Separate kerberos5 implementation from kerberos4. 2000-01-26 01:18:48 +00:00
marc
6458b2ce43 it doesn't make any sense to use -u with -r or -i, so don't permit it. 1999-08-26 07:33:16 +00:00
mrg
44b9c0ad6e KNF. ensure buffers are nul-terminated. 1998-07-11 15:55:48 +00:00
lukem
b879efa7db WARNSify, fix .Nm usage 1997-10-19 12:29:35 +00:00
tls
d47b2b42f1 remove vestigal Berkeley kpasswdd support 1997-01-07 04:02:11 +00:00
tls
28316c21d3 Sync with 4.4BSD-Lite2 (whew!) 1996-12-28 04:30:02 +00:00
thorpej
bbe8c40877 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, passwd(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 as "yppasswd" or with "-y").
1996-11-26 23:35:38 +00:00
thorpej
27643ee095 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.

Also, some minor cleanup and RCS id police.
1996-08-09 09:19:33 +00:00
phil
68bbf97073 Make passwd work with a link to yppasswd. (From Jason Thorpe) 1995-02-12 17:45:54 +00:00
brezak
9adfc4104e Add conditional kerberosIV and kerberos5 support 1994-07-27 03:28:11 +00:00
deraadt
1f827d4b07 rationalize & cleanup -y/-k/-l code
update man page for -y
yp password setting now works again!
relax passwd setting retry code a teeny bit
1994-01-05 11:20:34 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
brezak
f1b1f173e6 Change NIS--> YP 1993-07-07 12:33:50 +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