tb
68bc198e0c
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
8 years ago
deraadt
9e1200d556
Don't Xr flock, since that is not the locking method used.
ok millert
8 years ago
schwarze
0f5a134fe9
in the SYNOPSIS, make void function arguments explicit
8 years ago
schwarze
3772d4b01b
remove .Tn; from Jan Stary <hans at stare dot cz>
9 years ago
tedu
4ec5da8bd2
use fancy .In macro for includes. from Jan Klemkow. ok jmc schwarze
11 years ago
jmc
e4b49a8636
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;
16 years ago
jmc
14302f5699
convert to new .Dd format;
17 years ago
ray
42bf021fff
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@.
17 years ago
jmc
48da60bb34
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...
19 years ago
jmc
5761838b09
use .Pq rather than .Po/.Pc;
19 years ago
millert
679cd5d050
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.
21 years ago
mpech
bc299477ad
o) start new sentence on a new line;
o) always close .Bl tags;
o) fix usage of .Xr;
millert@ ok
22 years ago
millert
dc64978377
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.
23 years ago
millert
5caca03abd
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.
23 years ago
millert
2a2d694747
Add a username argument to pw_mkdb to match 'pwd_mkdb -u username'.
Crank the shlib major number due to the interface change.
23 years ago
csapuntz
15f3825602
Add opendisk from NetBSD.
25 years ago
aaron
312386f8de
when using `-' as a negative sign, escape it with a backslash so troff knows
it's not supposed to be a hyphen/dash
25 years ago
millert
b46ec22f4b
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.
27 years ago
deraadt
a34e8e5c6d
do not unexpectedly unlink the ptmp file; also support SIG*STOP cleanly
with our changes which permit "EDITOR=emacs -nw" to work.
28 years ago
deraadt
a5010d31aa
libutil
28 years ago
deraadt
47b73ff83c
initial import of NetBSD tree
29 years ago