summaryrefslogtreecommitdiffstats
path: root/libutil/pw_util.c
Commit message (Expand)AuthorAgeFilesLines
* Recommit everything, add chpass, improve history (except for a few files that...Cameron Katri2021-05-021-3/+7
* Make vipw error message less crypticPiotr Pawel Stefaniak2020-06-201-5/+8
* libutil: remove extraneous ": " from error messagesPiotr Pawel Stefaniak2020-06-201-2/+2
* Make pw_scan(3) more compatible with getpwent(3) et. al. when processingIan Lepore2018-07-261-1/+10
* Use __SCCSID() for SCCS IDs.John Baldwin2018-05-231-7/+3
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
* lib: initial use of reallocarray(3).Pedro F. Giffuni2017-04-211-1/+1
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Use malloc()ed buffers instead of stack buffers in gr_copy() and pw_copy().Dag-Erling Smørgrav2016-11-281-13/+24
* Speed up pw operations that edit /etc/group or /etc/passwdAlan Somers2016-11-181-1/+1
* Remove useless calls to basename().Ed Schouten2016-05-011-2/+1
* When passwd or group information is changed (by pw, vipw, chpass, ...)Renato Botelho2015-07-021-1/+1
* revert r283969,283970 not needed anymore after r283981Baptiste Daroussin2015-06-041-25/+3
* Add a pw_mkdb2(3) function which does the same thing as pw_mkdb(3) exceptBaptiste Daroussin2015-06-031-3/+25
* Add O_CLOEXEC to flopenBaptiste Daroussin2012-12-271-1/+1
* Use flopen(3) instead of open(2) + flock(2)Baptiste Daroussin2012-12-271-5/+2
* backout r242319, racy and not done in the right placeBaptiste Daroussin2012-10-291-9/+0
* make pw_init and gr_init fail if the specified master password or group file isBaptiste Daroussin2012-10-291-0/+9
* Revert user comparison back to user names as some user can share uids (root/toorBaptiste Daroussin2012-06-191-6/+13
* Detect file modification properly by using tv_nsec.Ed Schouten2012-02-101-1/+2
* Add new pw_make_v7 to make a passwd line (in v7 format) out of a struct passwdBaptiste Daroussin2012-01-051-1/+15
* Modify pw_copy:Baptiste Daroussin2011-12-151-0/+645
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-621/+0
* sigset() is the name of function specified by SUSv4.Konstantin Belousov2009-11-261-4/+4
* Remove California Regent's clause 3, per letterWarner Losh2007-01-091-4/+0
* Minor comment fix.Thomas Quinot2006-09-081-1/+1
* (pw_copy): Handle the case of a malformed line in master.passwdThomas Quinot2006-09-041-2/+11
* Don't depend on NULL's expansion being a pointer, cast it before it is passedStefan Farfeleder2004-05-181-3/+4
* ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.Mark Murray2003-10-181-29/+36
* Tidy up. Sort headers.Mark Murray2003-06-141-1/+1
* Brucify.Dag-Erling Smørgrav2003-04-101-4/+8
* Correctly detect the case where a password entry was changed while we wereDag-Erling Smørgrav2003-04-091-2/+7
* Apply the correct fix for bin/50679: don't mess around with process groupsDag-Erling Smørgrav2003-04-091-13/+19
* Band-aid for the "^C kills the editor" problem. I haven't yet found theDag-Erling Smørgrav2003-04-081-10/+6
* Make pw_edit() use /bin/sh to interpret the EDITOR environmentDavid Schultz2003-03-171-2/+12
* Don't forget to '\n'-terminate new entries. This unbreaks chpass -a.Dag-Erling Smørgrav2002-10-291-1/+2
* Be more clear in error messages.Nick Hibma2002-06-231-4/+9
* If no old_pw was passed to pw_copy, compare just the name.Dag-Erling Smørgrav2002-05-081-1/+2
* Add passwd manipulation code based on parts of vipw and chpass.Dag-Erling Smørgrav2002-05-081-82/+404
* Make mppath and masterpasswd pointers instead of arrays, and initializeDag-Erling Smørgrav2002-04-171-2/+4
* Remove bogus reference to _use_yp.Dag-Erling Smørgrav2002-04-151-9/+1
* ANSIfy and constify.Dag-Erling Smørgrav2002-02-051-17/+15
* Fix the type of the NULL arg to execl()Brian Somers2001-07-091-3/+3
* Don't pass NULL to the %s format.Dima Dorfman2001-04-221-2/+6
* Don't call warn() without a format string.Kris Kennaway2000-07-121-1/+1
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
* Move call to umask(0) back into pw_util(), because the latterPierre Beyssac1999-06-291-1/+4
* Force umask to 077 (instead of 000) during the edit phase, to getPierre Beyssac1999-06-261-4/+1
* Add -d option to vipw(8) to allow selection of an alternative directorySheldon Hearn1999-06-261-8/+14
* oops. Fix indentation of the 'for' loop I just added.Matthew Dillon1998-12-131-18/+18