summaryrefslogtreecommitdiff
path: root/usr.bin/chpass/chpass.c
AgeCommit message (Expand)Author
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2022-12-04userspace: remove vestigial '?' cases from top-level getopt(3) loopsScott Soule Cheloha
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2019-09-14correct some unveil(2) violations due to "login.conf.db" access (the .db versionSebastien Marie
2019-04-30add unveil(2):Ricardo Mestre
2017-12-08Convert snprintf+write into dprintf. It is simply easier to read, andTheo de Raadt
2015-11-26Delete YP password related code. As a result, these can also beTheo de Raadt
2015-11-18needs _shadow so it can rewrite the master.passwd fileTed Unangst
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-26Prefer mkostemp(O_CLOEXEC) over mkstemp()+fcntl(F_SETFD)Philip Guenther
2013-04-18- use FD_CLOEXEC instead of 1Okan Demirmen
2012-06-20Correct English just like jsing@ did it in passwd/local_passwd.c rev. 1.38Ingo Schwarze
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-07-08fix double "usage:"Igor Sobrado
2008-06-19Moved the unset of TZ environment variable out of atot into main, removingTobias Stoeckmann
2007-03-27-a requires a separate synopsis;Jason McIntyre
2007-01-15Fix -a when given an entry with an already existing user. Also, giveOtto Moerbeek
2005-12-12ARGSUSED on signal handlerTheo de Raadt
2004-05-10unbreak chsh, ok millertPeter Stromberg
2004-04-20Adapt to new pw_copy() API, closes PR 3698.Todd C. Miller
2003-11-26This is ISO C, use string concatenation, instead of bogus use of __CONCAT.Marc Espie
2003-07-01- no need for pathnames.h, just use <paths.h> insteadAnil Madhavapeddy
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-07-31When I got removed the use of atexit() I missed the fact that edit()Todd C. Miller
2002-06-27move protosTheo de Raadt
2002-06-27There is absolutely no reason for the "tempname" or dfd variablesTodd C. Miller
2002-06-27cleanup; mpech & millert okTheo de Raadt
2002-03-14Remove \n from err/errx/warn/warnx().Mike Pechkin
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-08-27Instead of prompting the user whether or not they wish to continue toTodd C. Miller
2001-08-16extra arg to pw_mkdbTodd C. Miller
2001-08-16At Theo's request only print 'Please wait' if don't get the lockTodd C. Miller
2001-08-15Move locking of the passwd file *after* we have gotten a new passwordTodd C. Miller
2000-11-26Update for pw_mkdb(3) interface change. All but vipw and userdel canTodd C. Miller
2000-11-21Sync usage() output with man page; mpech@prosoft.org.lvAaron Campbell
1999-12-05Fix temp file unlinking. We use atexit() since the libutil passwdTodd C. Miller
1998-08-03use __prognameTodd C. Miller
1998-08-02add close on exec flag to all opensTodd C. Miller
1998-05-29put temp file _PATH_VARTMPTodd C. Miller
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1997-06-17(foo *)NULL -> NULLkstailey
1997-02-13fix YP and non-YP cases to exit/warn nicelyTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-10-20better error message if unable to create password temp file.Todd C. Miller
1996-09-23pw_abort() after yp change, does unlockTheo de Raadt
1996-08-31kill leaks; help from das33@cornell.eduTheo de Raadt
1996-06-26rcsidTheo de Raadt
1996-05-22libutilTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt