Commit Graph

10 Commits

Author SHA1 Message Date
phil 01d72f4add Change pw_copy to take an optional 4th parameter (old_pw), a pointer
to a passwd structure.  If a good pointer, make sure old entry in file
is identical to passed passwd (old_pw).  If not, abort.

Update documentation, bump major version due to change to pw_copy.
1997-07-24 08:50:31 +00:00
christos bb4dad4f04 PR/3832: Enami Tsugutomo: passwd.c will not compile on NetBSD/alpha 1997-07-06 18:17:21 +00:00
christos f5646a08d4 - RCSID police
- Add ttymsg.3
1997-06-29 18:44:03 +00:00
mikel 6aa3be2874 add parens for gcc -Wall 1997-06-20 06:17:27 +00:00
lukem ad8e075042 in pw_scan(), parse [gu]id with strtoul() instead of atoi(), and sanity
check a) the parsed value was just a number, b) it doesn't exceed [GU]ID_MAX
1997-05-22 03:08:42 +00:00
mycroft 8feb354e12 Pull in err.h for prototypes. 1997-05-09 18:37:45 +00:00
mycroft 9ba4365fce Allow the full range of UIDs and GIDs. 1997-04-23 18:51:17 +00:00
thorpej 3fe99e29ea Deal with complex EDITOR strings (e.g. `pico -t'). Fixes PR #2520. 1996-12-09 22:23:34 +00:00
ghudson e257708bf2 Don't delete the lock file if pwd_mkdb fails. The caller will take care
of it by calling pw_abort() or pw_error() as appropriate.
1996-06-02 19:25:43 +00:00
jtc e42a94845a Minor reorganization of libutil, including the addition of passward
locking and editing functions.
From Greg Hudson <ghudson@MIT.EDU>
1996-05-15 21:42:23 +00:00