OpenBSD CVS

CVS log for src/lib/libutil/pw_lock.3


[BACK] Up to [local] / src / lib / libutil

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Sun Aug 14 14:57:16 2016 UTC (7 years, 9 months ago) by tb
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, HEAD
Changes since 1.19: +7 -5 lines
Diff to previous 1.19 (colored)

Refer to /etc/passwd consistently as the "legacy password file" and
remove some references to differences between versions 6 and 7.

ok jmc, millert, tedu

Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 15 19:35:24 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

Don't Xr flock, since that is not the locking method used.
ok millert

Revision 1.18 / (download) - annotate - [select for diffs], Mon Sep 14 13:45:25 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

in the SYNOPSIS, make void function arguments explicit

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 15 19:06:32 2015 UTC (9 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.16: +3 -5 lines
Diff to previous 1.16 (colored)

remove .Tn; from Jan Stary <hans at stare dot cz>

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 5 03:40:26 2013 UTC (11 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

use fancy .In macro for includes. from Jan Klemkow. ok jmc schwarze

Revision 1.15 / (download) - annotate - [select for diffs], Mon Nov 19 22:07:37 2007 UTC (16 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: 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, 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.14: +9 -9 lines
Diff to previous 1.14 (colored)

copy in FILES from pw_lock.3 to vipw.8: as nick points out, it should at
least document /etc/ptmp;

while i'm at it, might as well tidy it up and make it consistent across
these pages;

Revision 1.14 / (download) - annotate - [select for diffs], Thu May 31 19:19:38 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

convert to new .Dd format;

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 17 20:50:51 2006 UTC (17 years, 5 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.12: +25 -3 lines
Diff to previous 1.12 (colored)

Always write errno on pw_lock failure so it can be relied on.
Mention errno, pw_file, and pw_init in pw_lock man page.

OK jmc@, otto@, millert@, and deraadt@.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 29 09:08:34 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.11: +3 -5 lines
Diff to previous 1.11 (colored)

O_EXLOCK stuff was introduced in June 1997, and backed out again in
November of that year; however, the corresponding man changes were
never backed out.

do that now, reversing -r1.3 of this file;

original pr and diff from peter philipp (this commit closes pr #4309);
i chose to revert -r1.3 rather than accept the new wording from peter;

thanks jaredy@ for tracking all this down, and supplying the ok...

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 7 23:01:40 2005 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

use .Pq rather than .Po/.Pc;

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 2 20:18:42 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.9: +2 -6 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 1 08:03:30 2002 UTC (22 years, 1 month ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (colored)

o) start new sentence on a new line;
o) always close .Bl tags;
o) fix usage of .Xr;

millert@ ok

Revision 1.8 / (download) - annotate - [select for diffs], Sun Aug 26 03:28:30 2001 UTC (22 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.7: +20 -10 lines
Diff to previous 1.7 (colored)

Change the second arg to pw_mkdb() from a boolean flag to a set of
bit flags ORed together.  Currently the only flags defined are
_PASSWORD_SECUREONLY and _PASSWORD_OMITV7 but this is enough to
cause pw_mkdb() to run pwd_mkdb with the options we want.

With this change we no longer generate the old V7 passwd file when
only the extra fields in master.passwd (or the encrypted password)
have changed.  There are other programs that could probably use
the _PASSWORD_OMITV7 flag; they will be converted at a future date.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 16 18:24:32 2001 UTC (22 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.6: +22 -4 lines
Diff to previous 1.6 (colored)

Add new 'secureonly' arg to pw_mkdb() to correspond to pwd_mkdb's new -s
flag and crank the library major due to the interface change.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 26 01:25:33 2000 UTC (23 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.5: +5 -2 lines
Diff to previous 1.5 (colored)

Add a username argument to pw_mkdb to match 'pwd_mkdb -u username'.
Crank the shlib major number due to the interface change.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 21 04:52:46 1999 UTC (24 years, 8 months ago) by csapuntz
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.4: +2 -0 lines
Diff to previous 1.4 (colored)



Add opendisk from NetBSD.

Add OpenBSD tags to files

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 7 14:22:25 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

when using `-' as a negative sign, escape it with a backslash so troff knows
it's not supposed to be a hyphen/dash

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 22 23:57:22 1997 UTC (26 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

Use O_EXLOCK option of open(2) to open /etc/ptmp with an exclusive
lock.  This fixes a DOS bug where a user could run passwd(1) and
send it a SIGKILL, thus leaving /etc/ptmp in place.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 19 12:36:00 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +5 -0 lines
Diff to previous 1.1 (colored)

do not unexpectedly unlink the ptmp file; also support SIG*STOP cleanly
with our changes which permit "EDITOR=emacs -nw" to work.

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 22 11:35:12 1996 UTC (28 years ago) by deraadt
Branch: MAIN

libutil

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.