Home | History | Annotate | Download | only in passwd
History log of /src/usr.bin/passwd/passwd.c
RevisionDateAuthorComments
 1.32  12-Oct-2017  ryo fix compile error without USE_PAM (-Werror,-Wmissing-noreturn)
 1.31  03-Sep-2016  sevan Remove K&R __P macros.
Remove main() function prototype if present.
Mark usage() as __dead if not already.
Binaries generated with & without these patches were compared with diff -r.
 1.30  17-Apr-2009  dyoung Rename variables to fix GCC warnings: local variables optopt and optarg
shadow globals.
 1.29  12-Apr-2009  lukem Fix WARNS=4 issues
 1.28  21-Jul-2008  lukem branches: 1.28.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.27  25-Jan-2008  christos branches: 1.27.6;
minor lint
 1.26  23-Mar-2006  wiz branches: 1.26.12;
Get rid of more Kerberos 4 code.
 1.25  26-Feb-2005  thorpej Magor rework of passwd(1) for the PAM case. Add "-d <database>" option,
similar to Solaris's "-r <repository" or Mac OS X's "-i <infosystem>",
to select the password database (files, nis, krb5). Otherwise, we default
to using whatever PAM decides.
 1.24  22-Feb-2005  christos Add a PAM passwd module.
XXX: This avoids the issue of supporting separate -l -y -k, but is the behavior
correct? Should passwd -p disable all other passwd methods? Should it become
the default if compiled in?
 1.23  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.22  28-Mar-2001  simonb 80 column police.
 1.21  19-Feb-2001  cgd convert to use getprogname()
 1.20  06-Jul-2000  ad - Pull in pwd.h since `struct passwd' is now used in extern.h.
- Use pwd_gensalt().
 1.19  03-Jul-2000  matt 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
 1.18  14-Apr-2000  simonb branches: 1.18.4;
Don't declare 'extern opt*' getopt variables.
 1.17  01-Mar-2000  joda use NULL
 1.16  14-Feb-2000  aidan 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
 1.15  26-Jan-2000  aidan Separate kerberos5 implementation from kerberos4.
 1.14  26-Aug-1999  marc it doesn't make any sense to use -u with -r or -i, so don't permit it.
 1.13  11-Jul-1998  mrg KNF. ensure buffers are nul-terminated.
 1.12  19-Oct-1997  lukem WARNSify, fix .Nm usage
 1.11  07-Jan-1997  tls remove vestigal Berkeley kpasswdd support
 1.10  28-Dec-1996  tls Sync with 4.4BSD-Lite2 (whew!)
 1.9  26-Nov-1996  thorpej 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").
 1.8  09-Aug-1996  thorpej 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.
 1.7  12-Feb-1995  phil Make passwd work with a link to yppasswd. (From Jason Thorpe)
 1.6  27-Jul-1994  brezak branches: 1.6.2;
Add conditional kerberosIV and kerberos5 support
 1.5  05-Jan-1994  deraadt 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
 1.4  01-Aug-1993  mycroft Add RCS identifiers.
 1.3  07-Jul-1993  brezak Change NIS--> YP
 1.2  11-Jun-1993  brezak Add YP support.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  27-Dec-1996  tls Import of 4.4BSD-Lite2 sources
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.2.2  27-Jul-1994  brezak Add conditional kerberosIV and kerberos5 support
 1.6.2.1  27-Jul-1994  brezak file passwd.c was added on branch netbsd-1-0 on 1994-07-27 03:28:24 +0000
 1.18.4.1  26-Feb-2002  he Pull up revision 1.20 (requested by jonathan):
Add support for local MD5-encrypted passwords.
 1.26.12.1  23-Mar-2008  matt sync with HEAD
 1.27.6.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.28.6.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed