OpenBSD CVS

CVS log for src/usr.bin/passwd/passwd.c


[BACK] Up to [local] / src / usr.bin / passwd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Thu Nov 26 19:01:47 2015 UTC (8 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, HEAD
Changes since 1.26: +3 -57 lines
Diff to previous 1.26 (colored)

Delete YP password related code.  As a result, these can also be
pledged.  Keep an eye out for regressions, because they could be
uncomfortable.
ok beck semarie

Revision 1.26 / (download) - annotate - [select for diffs], Mon May 19 15:05:13 2014 UTC (10 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.25: +3 -33 lines
Diff to previous 1.25 (colored)

kerberos leftovers

Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:41 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.24: +1 -12 lines
Diff to previous 1.24 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.24 / (download) - annotate - [select for diffs], Sat Sep 8 18:42:36 2007 UTC (16 years, 8 months ago) by cloder
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored)

Fix lint warning about unreachable code.
OK deraadt@

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jan 22 06:04:28 2006 UTC (18 years, 4 months ago) by biorn
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.22: +20 -7 lines
Diff to previous 1.22 (colored)

- drop privs before running krb5 code
- avoid calling krb5_get_init_creds_password(3) with principal == NULL
- try to change the kerberos password if there is a ticket file

help from millert@, ok beck@

Revision 1.22 / (download) - annotate - [select for diffs], Sun Dec 18 12:29:26 2005 UTC (18 years, 5 months ago) by biorn
Branch: MAIN
Changes since 1.21: +3 -12 lines
Diff to previous 1.21 (colored)

Indicate that the flags are exclusive, mention realm in the description
for K and remove an error case for kerberos that doesn't apply nowdays.

with jmc@

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 12 22:54:20 2005 UTC (18 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.20: +3 -4 lines
Diff to previous 1.20 (colored)

sync usage();
from david leonard (pr #4939);

Revision 1.20 / (download) - annotate - [select for diffs], Wed Sep 28 00:13:02 2005 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

pull in protos from rpcsvc/ypclnt.h; issue noted by leonardo@iken.com.br

Revision 1.19 / (download) - annotate - [select for diffs], Sun May 1 02:51:08 2005 UTC (19 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.18: +8 -2 lines
Diff to previous 1.18 (colored)

_yp_check() is a non-standard API.  it leaves the domain bound, and the
fd use for that too.  We are only using it to check if YP is alive, so,
unbind YP right after... this removes the reserved port socket
fd in the child..

Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 4 07:29:22 2003 UTC (20 years, 9 months ago) by hin
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.17: +6 -25 lines
Diff to previous 1.17 (colored)

Remove Kerberos 4 stuff.

ok deraadt@ millert@ henning@

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 10 00:06:51 2003 UTC (20 years, 10 months ago) by david
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

add missing includes
ok deraadt@ tedu@

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:14 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.15: +3 -7 lines
Diff to previous 1.15 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 28 22:28:17 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.14: +23 -26 lines
Diff to previous 1.14 (colored)

various cleanups; ok millert

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 10 06:52:03 2002 UTC (22 years ago) by hugh
Branch: MAIN
Changes since 1.13: +5 -2 lines
Diff to previous 1.13 (colored)

Fixups for -Wall from panda@omatis.com in system/2634.
Checked by deraadt.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:15 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

kill more registers

millert@ ok

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 19 20:29:23 2001 UTC (22 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

add missing #include <err.h> in non-KRB5 case

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 7 00:10:49 2001 UTC (22 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

quiet some -Wall warnings for login_{l,}chpass

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 26 20:16:43 2001 UTC (22 years, 10 months ago) by hin
Branch: MAIN
Changes since 1.9: +15 -4 lines
Diff to previous 1.9 (colored)

Support for changing kerberos 5 passwords.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 12 02:19:58 2000 UTC (23 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

Minor interface changes to allow code reuse in login_chpass(8) and
login_lchpass(8)

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 19 02:14:31 2000 UTC (24 years ago) by ericj
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.7: +8 -8 lines
Diff to previous 1.7 (colored)

Make usage() work as expected. deraadt@ ok

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 20 15:32:21 1998 UTC (26 years, 4 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.6: +16 -14 lines
Diff to previous 1.6 (colored)

Use new method to change kerberos passwords.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 27 00:30:54 1997 UTC (27 years, 1 month ago) by weingart
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.5: +13 -8 lines
Diff to previous 1.5 (colored)

Slight cleanup, more needed

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 15 23:43:01 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

getopt(3) returns -1 when out of args, not EOF, whee!

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 26 05:37:47 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

rcsid

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 3 18:23:34 1996 UTC (28 years ago) by tholo
Branch: MAIN
Changes since 1.2: +8 -3 lines
Diff to previous 1.2 (colored)

Don't enable Kerberos password changing by default unless a local kerberos
domain has been defined in the configuration file

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 16 07:22:15 1996 UTC (28 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +1 -16 lines
Diff to previous 1.1 (colored)

the yppasswd command is not needed. the user should always let the
passwd command figure out where their password is located. if they
really need to change a specific one, they can use the flags - bet
noone ever needs to use that.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:54 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:54 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.