| History log of /src/usr.bin/passwd/yp_passwd.c |
| Revision | | Date | Author | Comments |
| 1.38 |
| 18-May-2024 |
andvar | s/Abosrb/Absorb/ in comment.
|
| 1.37 |
| 25-Mar-2012 |
dholland | fix non-PAM build
|
| 1.36 |
| 16-Sep-2011 |
joerg | branches: 1.36.2; Use __dead
|
| 1.35 |
| 08-Sep-2010 |
christos | KNF, make error messages consistent.
|
| 1.34 |
| 08-Sep-2010 |
christos | PR/43852: Wolfgang Stukenbrock: yp_passwd command may destroy NIS database entries when used on a server that includes users via netgroups.
|
| 1.33 |
| 12-Apr-2009 |
lukem | Fix WARNS=4 issues
|
| 1.32 |
| 25-Jan-2008 |
christos | branches: 1.32.10; 1.32.12; PR/37863: Wolfgang Stukenbrock: yp_passwd command may destroy NIS database entries when used on a server that includes users via netgroups
|
| 1.31 |
| 26-Feb-2005 |
thorpej | branches: 1.31.18; 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.30 |
| 12-Jan-2005 |
christos | adapt to pw_gensalt() changes.
|
| 1.29 |
| 11-Jan-2005 |
christos | use pw_gensalt() and don't dig into libcrypt.
|
| 1.28 |
| 30-Oct-2004 |
dsl | Add (unsigned char) cast to ctype functions A password containg 80...ff could be reported (incorrectly) as being all lower case.
|
| 1.27 |
| 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.26 |
| 16-Nov-2002 |
itojun | error handling on strdup failure
|
| 1.25 |
| 16-Nov-2002 |
itojun | use strlcpy
|
| 1.24 |
| 13-Feb-2001 |
cgd | __progname not used here, so don't extern it
|
| 1.23 |
| 06-Jul-2000 |
ad | - Pull in pwd.h since `struct passwd' is now used in extern.h. - Use pwd_gensalt().
|
| 1.22 |
| 14-Feb-2000 |
aidan | branches: 1.22.4; 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.21 |
| 23-Dec-1999 |
mjl | Fix yppasswd part of passwd. This has never worked since the password map was split and master.passwd.byname was introduced.
XXX This is a temporary fix until luke finds some time to add the necessary support glue to libc for TRT.
|
| 1.20 |
| 16-Aug-1999 |
simonb | Spell "privilege" correctly (correct spelling from Jonathan Stone).
|
| 1.19 |
| 26-Jul-1998 |
mycroft | branches: 1.19.2; const poisoning.
|
| 1.18 |
| 12-Jul-1998 |
mrg | avoid print extra : as noted by Benjamin Lorenz <lorenz@ps.uni-sb.de> in bin/5745
|
| 1.17 |
| 11-Jul-1998 |
mrg | KNF. ensure buffers are nul-terminated.
|
| 1.16 |
| 21-Nov-1997 |
tv | Added test to allow fallback to local password database if YP passwd map is not found. Fixes both PRs 4142 and 4557 (4558). Still fails properly if user is in YP and not in local database. Man page fixed to reflect current logic behind falling back, changed since YP was made default some time ago.
|
| 1.15 |
| 19-Oct-1997 |
lukem | branches: 1.15.2; WARNSify, fix .Nm usage
|
| 1.14 |
| 21-May-1997 |
lukem | * free up data after a failed yp_match() * simplify a two case switch into an if statement... * remove use of register
|
| 1.13 |
| 22-Feb-1997 |
thorpej | Tidy up printf formats in "don't use all lower case" warning message. From Dave Huang <khym@bga.com>, PR #3198.
|
| 1.12 |
| 11-Feb-1997 |
mrg | remove dangerous sprintf and strcpy calls.
|
| 1.11 |
| 28-Dec-1996 |
tls | Sync with 4.4BSD-Lite2 (whew!)
|
| 1.10 |
| 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.9 |
| 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.8 |
| 08-Feb-1995 |
phil | Fix bug bin/789 with my fix.
|
| 1.7 |
| 15-Jan-1995 |
phil | Fix the bug that stopped a user from changing his yp passwd when the entry was ::. (Also allows root to change the empty password.)
|
| 1.6 |
| 17-Aug-1994 |
deraadt | branches: 1.6.2; pr#416
|
| 1.5 |
| 13-Jan-1994 |
deraadt | branches: 1.5.2; few minor things, one pointed out by <kuku@acds.physik.rwth-aachen.de>
|
| 1.4 |
| 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.3 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.2 |
| 07-Jul-1993 |
brezak | Change NIS--> YP
|
| 1.1 |
| 11-Jun-1993 |
brezak | Add YP support.
|
| 1.5.2.1 |
| 17-Aug-1994 |
mycroft | update from trunk
|
| 1.6.2.2 |
| 17-Aug-1994 |
deraadt | pr#416
|
| 1.6.2.1 |
| 17-Aug-1994 |
deraadt | file yp_passwd.c was added on branch netbsd-1-0 on 1994-08-17 06:06:43 +0000
|
| 1.15.2.1 |
| 26-Nov-1997 |
mellon | Pull rev 1.16 up from trunk (tv)
|
| 1.19.2.1 |
| 08-Oct-2000 |
he | Apply patch (requested by phil): Make this program actually able to change the YP password.
|
| 1.22.4.1 |
| 26-Feb-2002 |
he | Pull up revision 1.23 (requested by jonathan): Add support for local MD5-encrypted passwords.
|
| 1.31.18.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
| 1.32.12.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
|
| 1.32.10.1 |
| 22-Nov-2010 |
riz | Pull up following revision(s) (requested by dholland in ticket #1476): usr.bin/passwd/yp_passwd.c: revision 1.34 PR/43852: Wolfgang Stukenbrock: yp_passwd command may destroy NIS database entries when used on a server that includes users via netgroups.
|
| 1.36.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|