summaryrefslogtreecommitdiff
path: root/lib/libutil/pw_util.c
AgeCommit message (Expand)Author
2023-11-26lib: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2020-06-20Make vipw error message less crypticPiotr Pawel Stefaniak
2020-06-20libutil: remove extraneous ": " from error messagesPiotr Pawel Stefaniak
2018-07-26Make pw_scan(3) more compatible with getpwent(3) et. al. when processingIan Lepore
2018-05-23Use __SCCSID() for SCCS IDs.John Baldwin
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-04-21lib: initial use of reallocarray(3).Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2016-11-28Use malloc()ed buffers instead of stack buffers in gr_copy() and pw_copy().Dag-Erling Smørgrav
2016-11-18Speed up pw operations that edit /etc/group or /etc/passwdAlan Somers
2016-05-01Remove useless calls to basename().Ed Schouten
2015-07-02When passwd or group information is changed (by pw, vipw, chpass, ...)Renato Botelho
2015-06-04revert r283969,283970 not needed anymore after r283981Baptiste Daroussin
2015-06-03Add a pw_mkdb2(3) function which does the same thing as pw_mkdb(3) exceptBaptiste Daroussin
2012-12-27Add O_CLOEXEC to flopenBaptiste Daroussin
2012-12-27Use flopen(3) instead of open(2) + flock(2)Baptiste Daroussin
2012-10-29backout r242319, racy and not done in the right placeBaptiste Daroussin
2012-10-29make pw_init and gr_init fail if the specified master password or group file isBaptiste Daroussin
2012-06-19Revert user comparison back to user names as some user can share uids (root/toorBaptiste Daroussin
2012-02-10Detect file modification properly by using tv_nsec.Ed Schouten
2012-01-05Add new pw_make_v7 to make a passwd line (in v7 format) out of a struct passwdBaptiste Daroussin
2011-12-15Modify pw_copy:Baptiste Daroussin
2010-08-16Old patch I had lying around: clean up and use stpcpy(3) instead ofDag-Erling Smørgrav
2009-11-26sigset() is the name of function specified by SUSv4.Konstantin Belousov
2007-01-09Remove California Regent's clause 3, per letterWarner Losh
2006-09-08Minor comment fix.Thomas Quinot
2006-09-04(pw_copy): Handle the case of a malformed line in master.passwdThomas Quinot
2004-05-18Don't depend on NULL's expansion being a pointer, cast it before it is passedStefan Farfeleder
2003-10-18ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.Mark Murray
2003-06-14Tidy up. Sort headers.Mark Murray
2003-04-10Brucify.Dag-Erling Smørgrav
2003-04-09Correctly detect the case where a password entry was changed while we wereDag-Erling Smørgrav
2003-04-09Apply the correct fix for bin/50679: don't mess around with process groupsDag-Erling Smørgrav
2003-04-08Band-aid for the "^C kills the editor" problem. I haven't yet found theDag-Erling Smørgrav
2003-03-17Make pw_edit() use /bin/sh to interpret the EDITOR environmentDavid Schultz
2002-10-29Don't forget to '\n'-terminate new entries. This unbreaks chpass -a.Dag-Erling Smørgrav
2002-06-23Be more clear in error messages.Nick Hibma
2002-05-08If no old_pw was passed to pw_copy, compare just the name.Dag-Erling Smørgrav
2002-05-08Add passwd manipulation code based on parts of vipw and chpass.Dag-Erling Smørgrav
2002-04-17Make mppath and masterpasswd pointers instead of arrays, and initializeDag-Erling Smørgrav
2002-04-15Remove bogus reference to _use_yp.Dag-Erling Smørgrav
2002-02-05ANSIfy and constify.Dag-Erling Smørgrav
2001-07-09Fix the type of the NULL arg to execl()Brian Somers
2001-04-22Don't pass NULL to the %s format.Dima Dorfman
2000-07-12Don't call warn() without a format string.Kris Kennaway
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
1999-06-29Move call to umask(0) back into pw_util(), because the latterPierre Beyssac
1999-06-26Force umask to 077 (instead of 000) during the edit phase, to getPierre Beyssac
1999-06-26Add -d option to vipw(8) to allow selection of an alternative directorySheldon Hearn