Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_0_BASE
Revision 1.12 / (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_0_BASE,
OPENBSD_3_0
Changes since 1.11: +5 -1 lines
Diff to previous 1.11 (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.