History log of /src/usr.bin/chpass |
Revision | Date | Author | Comments |
1.16 | 25-Jun-2018 |
kamil | Specify SANITIZER_RENAME_SYMBOL in chpass
Rename local versions of getpwent getpwnam getpwnam_r getpwuid getpwuid_r (all of the symbols are namespaced) in order to remove symbol clash with libc.
This program uses code directly from libc.
|
1.15 | 28-May-2007 |
tls | branches: 1.15.74; Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as well as a few system calls and other miscellany) where known at function entry. RedHat has evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in any code which includes the libc internals, because it overrides certain libc functions with macros. Some effort has been made to make USE_FORT=yes work correctly for a full-system build by having the bsd.sys.mk logic disable the feature where it should not be used (libc, libssp iteself, the kernel) but no attempt has been made to build the entire system with USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid, directly handle network data (including serial comm data), perform authentication, or appear likely to have (or have a history of having) data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default, with the exception of libc, which cannot use USE_FORT and thus uses only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no per-directory or in a system build will disable if desired.
|
1.14 | 22-Jul-2003 |
lukem | use CPPFLAGS.getpwent.c=... to set file-specific cpp flags
|
1.13 | 05-Apr-2003 |
bouyer | Build custom getpwent.o only if USE_YP==no. Otherwise, chpass will not get the current passwd entry from NIS. Problem reported by Stephen M. Jone on tech-net.
|
1.12 | 18-Sep-2002 |
lukem | makefile delint. use NETBSDSRCDIR as appropriate
|
1.11 | 22-Mar-2002 |
thorpej | branches: 1.11.2; Split the notion of building Hesiod, Kerberos, S/key, and YP infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control building of support for using the corresponding API in various libraries/programs that can use it.
As discussed on tech-toolchain.
|
1.10 | 24-Oct-1997 |
lukem | use CPPFLAGS instead of CFLAGS
|
1.9 | 22-Jul-1997 |
mrg | branches: 1.9.2; find "namespace.h" ...
|
1.8 | 08-May-1997 |
gwr | Back out the .PATH.c changes. The .depend problem (and others) will be fixed using the new .NOPATH make feature instead.
|
1.7 | 06-May-1997 |
gwr | Use .PATH.c: ...
|
1.6 | 15-May-1996 |
jtc | Updated to use new password file functions in libutil. From Greg Hudson <ghudson@MIT.EDU>.
|
1.5 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.4 | 07-Jan-1995 |
mycroft | Patch from Giles Lean to make compilation flags more consistent.
|
1.3 | 31-Jul-1993 |
mycroft | Add RCS indentifiers.
|
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 | 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.9.2.1 | 08-Nov-1997 |
lukem | sync with trunk (approved by thorpej)
|
1.11.2.1 | 16-Jun-2003 |
grant | Pull up revision 1.13 (requested by bouyer in ticket #1245):
Build custom getpwent.o only if USE_YP==no. Otherwise, chpass will not get the current passwd entry from NIS. Problem reported by Stephen M. Jone on tech-net.
|
1.15.74.1 | 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.25 | 21-Apr-2012 |
roy | Add capfile(5) to describe the termcap format. Adjust various man pages and other documentation to point to capfile(5) instead of termcap(5). Remove getcap(3) as curses hasn't been building it for a long time. Punt wrterm.c as tset no longer uses it.
|
1.24 | 22-Mar-2012 |
wiz | Fix whitespace nits. Suggested by Bug Hunting.
|
1.23 | 07-Oct-2006 |
elad | branches: 1.23.40; PR/29722: Andreas Kling: chpass temporary files in /etc not always unlinked
We had a (long) discussion about this in #NetBSD-code and the consensus was that /tmp should always be sticky (+t), and as such it is safe to create the temporary files for chpass(1) in there. We added a check to guarantee this (and bail out otherwise) and now temporary files are created in /tmp, not filling up /etc.
Thanks to rivo nurges et al.
|
1.22 | 05-Sep-2005 |
hubertf | Mention pwhash(1) in a few places, suggested in PR 31125 by Stefan Schumacher.
|
1.21 | 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.20 | 16-Feb-2003 |
wiz | Describe class field correctly. Addresses PR 20370 by Pavel Cahyna.
|
1.19 | 30-Sep-2002 |
grant | New sentence, new line. Some mdoc cleanup.
|
1.18 | 07-Aug-2002 |
soren | Mentions options -l and -y as in passwd.1. PR misc/14574 from Hiramatsu Yoshifumi.
|
1.17 | 01-Dec-2001 |
wiz | Sort sections, punctuation fixes, sort SEE ALSO.
|
1.16 | 01-Dec-2001 |
wiz | Whitespace cleanup.
|
1.15 | 06-Jul-2000 |
ad | Xref passwd.conf.
|
1.14 | 28-Apr-1998 |
fair | branches: 1.14.10; Change occurrences of "UNIX" to .Ux or .At as appropriate.
|
1.13 | 18-Mar-1998 |
mikel | capitalize title of Morris&Thompson paper, use .Ev for EDITOR
|
1.12 | 06-Feb-1998 |
perry | macroize BSD, NetBSD, FreeBSD and misc cleanup
|
1.11 | 11-Nov-1997 |
mrg | add missing .Nm sections.
|
1.10 | 18-Oct-1997 |
lukem | branches: 1.10.2; WARNSify, fix .Nm usage, bzero -> memset
|
1.9 | 08-Mar-1997 |
mouse | alternate -> alternative, per PR 2643
|
1.8 | 09-Jan-1997 |
tls | add note about Kerberos to manual page
|
1.7 | 15-May-1996 |
jtc | Updated to use new password file functions in libutil. From Greg Hudson <ghudson@MIT.EDU>.
|
1.6 | 14-Sep-1995 |
jtc | Fix formatting as suggested in PR #1452
|
1.5 | 07-Jul-1995 |
jtc | Fix formatting; PR #1194
|
1.4 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.3 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
1.2 | 22-Apr-1993 |
mycroft | Fix various bugs in man pages (from 386BSD patch 130).
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.10.2.1 | 11-Nov-1997 |
mrg | pull up from trunk: add missing .Nm sections.
|
1.14.10.1 | 26-Feb-2002 |
he | Pull up revision 1.15 (requested by jonathan): Add support for local MD5-encrypted passwords.
|
1.23.40.2 | 23-May-2012 |
yamt | sync with head.
|
1.23.40.1 | 17-Apr-2012 |
yamt | sync with head
|
1.35 | 31-Aug-2011 |
plunky | NULL does not need a cast
|
1.34 | 29-Aug-2011 |
joerg | static + __dead
|
1.33 | 21-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
1.32 | 21-Feb-2007 |
hubertf | branches: 1.32.12; pw_lock(3): ``You should finish writing to and close the file descriptor returned by pw_lock() before calling pw_mkdb().'' While there, also close another open file descriptor that's no longer used.
Patch from Slava Semushin <slava.semushin@gmail.com>, tested by me.
|
1.31 | 07-Oct-2006 |
elad | PR/29722: Andreas Kling: chpass temporary files in /etc not always unlinked
We had a (long) discussion about this in #NetBSD-code and the consensus was that /tmp should always be sticky (+t), and as such it is safe to create the temporary files for chpass(1) in there. We added a check to guarantee this (and bail out otherwise) and now temporary files are created in /tmp, not filling up /etc.
Thanks to rivo nurges et al.
|
1.30 | 02-Jun-2005 |
lukem | Ensure yflag is initialized before trying to use it. Detected with gcc -Wuninitialized.
|
1.29 | 17-Feb-2005 |
xtraeme | branches: 1.29.2; Kill __P(), use ANSI function declarations.
|
1.28 | 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.27 | 16-Nov-2002 |
itojun | error handling on strdup failure
|
1.26 | 16-Aug-2002 |
enami | Make this compiles again when compiled without YP. From Makoto Fujiwara in private mail.
|
1.25 | 08-Aug-2002 |
enami | Don't leave temporary file on abnormal exit (like, interrupted by user). Minor cosmetic chagnes while I'm here.
|
1.24 | 07-Aug-2002 |
soren | Mentions options -l and -y as in passwd.1. PR misc/14574 from Hiramatsu Yoshifumi.
|
1.23 | 11-Jun-2002 |
itojun | err/errx/warn/warnx do not need \n at the end
|
1.22 | 18-Aug-2001 |
ad | Update for pw_mkdb() change: restrict updates to one user's records and/or the secure database where appropriate.
|
1.21 | 13-Feb-2001 |
cgd | progname not used here, so don't extern it
|
1.20 | 27-Oct-2000 |
phil | getpwuid() and getpwnam() both support YP maps, insecure and secure. Remove local ypgetpw{uid,nam} which don't support secure maps. (Using chpass/chfn with secure maps and these local functions turns off users by putting * in password entry.)
|
1.19 | 07-Jul-2000 |
itojun | errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd
|
1.18 | 08-Feb-1999 |
mjl | branches: 1.18.2; 1.18.10; Fix for PR 5507 and 6686, using mostly patch by Rick Byers.
|
1.17 | 19-Dec-1998 |
thorpej | Set close-on-exec on all opened files. Partially from OpenBSD.
|
1.16 | 19-Dec-1998 |
thorpej | Better error message if opening the temp file fails.
|
1.15 | 05-Jul-1998 |
mrg | KNF
|
1.14 | 18-Oct-1997 |
lukem | WARNSify, fix .Nm usage, bzero -> memset
|
1.13 | 25-Jul-1997 |
mikel | initialize variables for gcc -Wall (marked XXX) compare getopt() result to -1, not EOF
|
1.12 | 24-Jul-1997 |
phil | Changes to close PR3807. (Different than in PR.) -- don't lock passwd until data is collected. -- save a copy of original pw data for pw_copy checking -- Try several times to lock passwd
|
1.11 | 05-Jan-1997 |
cjs | PR 3081: segfault due to reversed test. Fix from Todd Kover <kovert@omniscient.com>.
|
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, 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.
|
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.
|
1.8 | 15-May-1996 |
jtc | Updated to use new password file functions in libutil. From Greg Hudson <ghudson@MIT.EDU>.
|
1.7 | 28-Jul-1995 |
phil | Improvements to YP support from Jason Downs.
|
1.6 | 26-Jun-1995 |
jtc | Remove unnecessary sys/signal.h header
|
1.5 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.4 | 17-Aug-1994 |
deraadt | branches: 1.4.2; tabs
|
1.3 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
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 | 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.4.2.2 | 17-Aug-1994 |
deraadt | tabs
|
1.4.2.1 | 17-Aug-1994 |
deraadt | file chpass.c was added on branch netbsd-1-0 on 1994-08-17 19:54:40 +0000
|
1.18.10.3 | 15-Nov-2000 |
tv | Revert pullup of 1.20 [releng]. This causes other issues that need to be addressed as part of a more complete change in 1.5.1.
|
1.18.10.2 | 30-Oct-2000 |
tv | Pullup 1.20 [phil]: getpwuid() and getpwnam() both support YP maps, insecure and secure. Remove local ypgetpw{uid,nam} which don't support secure maps. (Using chpass/chfn with secure maps and these local functions turns off users by putting * in password entry.)
|
1.18.10.1 | 28-Jul-2000 |
itojun | pullup (approved by releng-1-5) printf-like format pedant. do not pass string variable alone. use "%s". from openbsd.
/cvsroot/basesrc/usr.bin/biff/biff.c 1.6 -> 1.7 /cvsroot/basesrc/usr.bin/chpass/chpass.c 1.18 -> 1.19 /cvsroot/basesrc/usr.bin/finger/net.c 1.13 -> 1.14 /cvsroot/basesrc/usr.bin/finger/util.c 1.15 -> 1.16 /cvsroot/basesrc/usr.bin/hexdump/display.c 1.8 -> 1.9 /cvsroot/basesrc/usr.bin/ktrace/ktrace.c 1.18 -> 1.19 /cvsroot/basesrc/usr.bin/mail/lex.c 1.14 -> 1.15 /cvsroot/basesrc/usr.bin/modstat/modstat.c 1.14 -> 1.15 /cvsroot/basesrc/usr.bin/tcopy/tcopy.c 1.9 -> 1.10 /cvsroot/basesrc/usr.bin/tn3270/ascii/map3270.c 1.7 -> 1.8 /cvsroot/basesrc/usr.bin/tn3270/tools/mkmake/mkmake.y 1.7 -> 1.8 /cvsroot/basesrc/usr.bin/vmstat/dkstats.c 1.8 -> 1.9
|
1.18.2.1 | 20-Oct-2000 |
he | Apply patch (requested by phil): Change password database information without turning off the user when using secure YP maps.
|
1.29.2.1 | 15-Jun-2005 |
snj | Pull up revision 1.30 (requested by lukem in ticket #405): Ensure yflag is initialized before trying to use it. Detected with gcc -Wuninitialized.
|
1.32.12.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.13 | 29-Aug-2011 |
joerg | static + __dead
|
1.12 | 17-Feb-2005 |
xtraeme | Kill __P(), use ANSI function declarations.
|
1.11 | 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.10 | 05-Feb-2001 |
christos | fix redundant decls
|
1.9 | 26-Jul-1998 |
mycroft | const poisoning.
|
1.8 | 04-Feb-1998 |
christos | Use strftime and strptime.
|
1.7 | 18-Oct-1997 |
lukem | WARNSify, fix .Nm usage, bzero -> memset
|
1.6 | 25-Jul-1997 |
mikel | add prototypes for check_yppasswdd() and pw_yp()
|
1.5 | 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.
|
1.4 | 15-May-1996 |
jtc | Updated to use new password file functions in libutil. From Greg Hudson <ghudson@MIT.EDU>.
|
1.3 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.22 | 27-Oct-2015 |
shm | Fixed memory leak (CID 978341)
OK kamil@
|
1.21 | 31-Aug-2011 |
plunky | NULL does not need a cast
|
1.20 | 11-Apr-2009 |
lukem | Fix WARNS=4 (-Wcast-qual -Wsign-compare -Wshadow) issues.
|
1.19 | 02-Jun-2005 |
lukem | branches: 1.19.30; appease gcc -Wuninitialized
|
1.18 | 17-Feb-2005 |
xtraeme | Kill __P(), use ANSI function declarations.
|
1.17 | 30-Oct-2004 |
dsl | Add (unsigned char) cast to ctype functions
|
1.16 | 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.15 | 03-Feb-2003 |
christos | Open the file with O_NOFOLLOW, and only use if it still has one link (from OpenBSD)
|
1.14 | 16-Nov-2002 |
itojun | error handling on strdup failure
|
1.13 | 08-Aug-2002 |
enami | Don't leave temporary file on abnormal exit (like, interrupted by user). Minor cosmetic chagnes while I'm here.
|
1.12 | 26-Jul-1998 |
mycroft | const poisoning.
|
1.11 | 04-Feb-1998 |
christos | Use strftime and strptime.
|
1.10 | 19-Oct-1997 |
mrg | fix compile warnings on the alpha.
|
1.9 | 18-Oct-1997 |
lukem | WARNSify, fix .Nm usage, bzero -> memset
|
1.8 | 11-Feb-1997 |
mrg | remove dangerous sprintf and strcpy calls.
|
1.7 | 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.
|
1.6 | 15-May-1996 |
jtc | Updated to use new password file functions in libutil. From Greg Hudson <ghudson@MIT.EDU>.
|
1.5 | 28-Jul-1995 |
phil | Improvements to YP support from Jason Downs.
|
1.4 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.3 | 17-Aug-1994 |
deraadt | branches: 1.3.2; fix bug 417
|
1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.3.2.2 | 17-Aug-1994 |
deraadt | fix bug 417
|
1.3.2.1 | 17-Aug-1994 |
deraadt | file edit.c was added on branch netbsd-1-0 on 1994-08-17 19:54:35 +0000
|
1.19.30.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.12 | 11-Apr-2009 |
lukem | Fix WARNS=4 (-Wcast-qual -Wsign-compare -Wshadow) issues.
|
1.11 | 17-Feb-2005 |
xtraeme | branches: 1.11.36; Kill __P(), use ANSI function declarations.
|
1.10 | 30-Oct-2004 |
dsl | Add (unsigned char) cast to ctype functions
|
1.9 | 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.8 | 09-May-2002 |
simonb | Fix warnings found by gcc-current with alpha target: There's no use assigning the output of strtoul() to a 32-bit variable then checking that against ULONG_MAX. Instead use a "unsigned long" as the temporary variable. Also, only check against UID_MAX/GID_MAX; these are both going to be smaller than ULONG_MAX on both 32- and 64-bit platforms.
|
1.7 | 10-Aug-1998 |
kim | We need to initialize the "save" member in the list for GECOS fields. If the user deletes a field while editing (as an easy way of making that field empty) then "save" for that field will not get initialized before referencing it when constructing the new GECOS field.
|
1.6 | 26-Jul-1998 |
mycroft | const poisoning.
|
1.5 | 05-Jul-1998 |
mrg | KNF
|
1.4 | 18-Oct-1997 |
lukem | WARNSify, fix .Nm usage, bzero -> memset
|
1.3 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.11.36.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.4 | 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.3 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.4 | 15-May-1996 |
jtc | Updated to use new password file functions in libutil. From Greg Hudson <ghudson@MIT.EDU>.
|
1.3 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.3 | 15-May-1996 |
jtc | Updated to use new password file functions in libutil. From Greg Hudson <ghudson@MIT.EDU>.
|
1.2 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.1 | 26-Mar-1995 |
glass | branches: 1.1.1; Initial revision
|
1.1.1.1 | 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.23 | 17-Jun-2015 |
christos | more stray \n
|
1.22 | 11-Apr-2009 |
lukem | Fix WARNS=4 (-Wcast-qual -Wsign-compare -Wshadow) issues.
|
1.21 | 17-Feb-2005 |
xtraeme | branches: 1.21.36; Kill __P(), use ANSI function declarations.
|
1.20 | 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.19 | 16-Nov-2002 |
itojun | error handling on strdup failure
|
1.18 | 27-Oct-2000 |
phil | getpwuid() and getpwnam() both support YP maps, insecure and secure. Remove local ypgetpw{uid,nam} which don't support secure maps. (Using chpass/chfn with secure maps and these local functions turns off users by putting * in password entry.)
|
1.17 | 11-Oct-2000 |
is | More format string cleanup by sommerfeld.
|
1.16 | 04-Oct-2000 |
itojun | plug warn() call with variable only, just in case - honor behavior of warn(NULL)
|
1.15 | 16-Aug-1999 |
simonb | branches: 1.15.8; Spell "privilege" correctly (correct spelling from Jonathan Stone).
|
1.14 | 26-Jul-1998 |
mycroft | branches: 1.14.2; const poisoning.
|
1.13 | 05-Jul-1998 |
mrg | KNF
|
1.12 | 18-Oct-1997 |
lukem | WARNSify, fix .Nm usage, bzero -> memset
|
1.11 | 25-Jul-1997 |
mikel | include <err.h> and <stdlib.h> for prototypes give pw_yp() an explicit type
|
1.10 | 21-May-1997 |
lukem | remove use of register.
|
1.9 | 21-May-1997 |
lukem | * free up returned data if yp_master() or yp_match() failed * simplify two case 'switch'es into 'if' statements
|
1.8 | 11-Feb-1997 |
mrg | remove dangerous sprintf and strcpy calls.
|
1.7 | 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, 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.
|
1.6 | 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.
|
1.5 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.4 | 17-Aug-1994 |
deraadt | branches: 1.4.2; fix same bug as in passwd
|
1.3 | 29-Jun-1994 |
deraadt | knf & small bug fix
|
1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 | 11-Jun-1993 |
brezak | Add YP support.
|
1.4.2.2 | 17-Aug-1994 |
deraadt | fix same bug as in passwd
|
1.4.2.1 | 17-Aug-1994 |
deraadt | file pw_yp.c was added on branch netbsd-1-0 on 1994-08-17 19:54:24 +0000
|
1.14.2.2 | 20-Oct-2000 |
he | Apply patch (requested by phil): Change password database information without turning off the user when using secure YP maps.
|
1.14.2.1 | 19-Oct-2000 |
he | Pull up revision 1.16-1.17 (requested by itojun): Plug warn() call with variable only.
|
1.15.8.3 | 15-Nov-2000 |
tv | Revert pullup of 1.18 [releng]. This causes other issues that need to be addressed as part of a more complete change in 1.5.1.
|
1.15.8.2 | 30-Oct-2000 |
tv | Pullup 1.18 [phil]: getpwuid() and getpwnam() both support YP maps, insecure and secure. Remove local ypgetpw{uid,nam} which don't support secure maps. (Using chpass/chfn with secure maps and these local functions turns off users by putting * in password entry.)
|
1.15.8.1 | 18-Oct-2000 |
tv | Pullup usr.bin string format fixes [is]. See "cvs log" for explicit revision numbers per file, from sommerfeld.
|
1.21.36.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.7 | 11-Apr-2009 |
lukem | Fix WARNS=4 (-Wcast-qual -Wsign-compare -Wshadow) issues.
|
1.6 | 07-Aug-2003 |
agc | branches: 1.6.42; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.5 | 10-Aug-1998 |
kim | We need to initialize the "save" member in the list for GECOS fields. If the user deletes a field while editing (as an easy way of making that field empty) then "save" for that field will not get initialized before referencing it when constructing the new GECOS field.
|
1.4 | 18-Oct-1997 |
lukem | WARNSify, fix .Nm usage, bzero -> memset
|
1.3 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.6.42.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.12 | 17-Feb-2005 |
xtraeme | Kill __P(), use ANSI function declarations.
|
1.11 | 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.10 | 26-Jul-1998 |
mycroft | const poisoning.
|
1.9 | 26-Jul-1998 |
mycroft | const poisoning.
|
1.8 | 04-Feb-1998 |
christos | Use strftime and strptime.
|
1.7 | 18-Oct-1997 |
lukem | WARNSify, fix .Nm usage, bzero -> memset
|
1.6 | 25-Jul-1997 |
mikel | make comparison to NULL explicit (gcc -Wall)
|
1.5 | 11-Feb-1997 |
mrg | remove dangerous sprintf and strcpy calls.
|
1.4 | 26-Mar-1995 |
glass | merged with 4.4Lite
|
1.3 | 03-Jan-1994 |
cgd | get the expire and change dates right if they're after 1/1/2000
|
1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 26-Mar-1995 |
glass | Import from 4.4Lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|