summaryrefslogtreecommitdiff
path: root/usr.sbin/pwd_mkdb/pwd_mkdb.c
AgeCommit message (Expand)Author
2015-11-05revert sys/kern/kern_pledge.c 1.103 and reenable pledge in pwd_mkdbSebastien Marie
2015-11-05quick fix for a regression introduced by sys/kern/kern_pledge.c 1.103Sebastien Marie
2015-10-16pledge "stdio rpath wpath cpath getpw fattr flock"Theo de Raadt
2015-08-27missing va_end(); OK deraadtGleydson Soares
2015-08-19add missing prototypeTheo de Raadt
2015-04-24Write (uid_t)-1 as -1 instead of UID_MAX in the v7 passwd file.Todd C. Miller
2015-04-15Convert error/errorx/errorc functions -> fatal/fatalx/fatalc andTodd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-08-25Delete secret or secret-derived data with explicit_bzero.Doug Hogan
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2010-01-08Don't leak the fds we open in cp() to copy one file from another.Owain Ainsworth
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-04Typo: chance -> changeAntoine Jacoutot
2008-06-25Add _PW_BUF_LEN define and use it instead of hard-coding 1024 forTodd C. Miller
2008-03-17sync the synopsis and usage; "usage:" is lowercaseIgor Sobrado
2004-08-08spacingTheo de Raadt
2003-06-28() to (void)Theo de Raadt
2003-06-08Sanity check username length and convert to ANSI function headers.Todd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-13Clarify the -d option and allow the passwd file argument to not beTodd C. Miller
2003-03-28Check strdup() rval for NULL; noticed by mpech@Todd C. Miller
2002-11-21Rename shadow group to _shadowTodd C. Miller
2002-11-21Add a "shadow" group and make the shadow passwd db readable by thatTodd C. Miller
2002-06-02minor KNFTheo de Raadt
2002-05-29more strlcat and strlcpyTheo de Raadt
2002-05-22more strcpy/sprintf death; mpech okTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-09-17skip to uid field, not gidMike Pechkin
2001-08-16Add -s flag to only update secure .db file (/etc/spwd.db). Can beTodd C. Miller
2001-06-07Close PR 1854; mpech@prosoft.org.lvTodd C. Miller
2000-11-26*** empty log message ***Todd C. Miller
2000-11-26Support -u username option. Loosely based on FreeBSD's changes.Todd C. Miller
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
1999-04-21Don't display the string associated with errno for "basedir too long"Alex Feldman
1998-07-15Fix a u_int vs. off_t issue and provide an estimate of the numberTodd C. Miller
1998-07-15Move loop that is executed 6 times into its own function to improve readability.Todd C. Miller
1998-07-14sizeof(uid_t) and sizeof(gid_t) not sizeof(int)Todd C. Miller
1998-07-14Get rid of unused empty file, pw_scan.h. Nothing uses it anymore.Todd C. Miller
1998-06-10clear flag before pw_scan(); lukemTheo de Raadt
1998-04-26use correct db pointer; fairTheo de Raadt
1998-04-26indentTheo de Raadt
1997-12-08first cut at performance enhancing heuristicTheo de Raadt
1997-09-15When the disk gets full, abort properly instead of creating emptyTheo de Raadt
1997-01-16From NetBSD: Warn about potentially unsafe uid/gid overrides.Todd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-10-16kill __yp_token.Jason Downs
1996-09-28Add -c flag from FreeBSD.Jason Downs
1996-08-30limit basedir lengthTheo de Raadt
1996-05-22libutilTheo de Raadt
1996-05-14looks like greywolf and i fixed netbsd pr#1328. pwd_mkdb on a filled rootTheo de Raadt