summaryrefslogtreecommitdiff
path: root/usr.bin/chpass
AgeCommit message (Expand)Author
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-09-14Supply DEF_WEAK() macro to suppress warnings during compilation viaPhilip Guenther
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-15Reduce instances of `` '' in manuals.Anthony J. Bentley
2014-10-26Prefer mkostemp(O_CLOEXEC) over mkstemp()+fcntl(F_SETFD)Philip Guenther
2014-02-16fix bibliographical references; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2013-11-26unsigned char casts for ctypeTheo de Raadt
2013-08-14some Bx/Ox conversion;Jason McIntyre
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
2012-06-19sync the descriptions of /etc/passwd;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
2009-04-30fix previous, admin may again set non-standard shell; ok millert@Jacek Masiulaniec
2009-03-05Call endusershell() at the end of ok_shell(), making a copy of theTodd C. Miller
2009-02-15in a secure YP context, a chpass would whack the user's password to *Theo de Raadt
2008-12-16strptime() never sets tm_isdst, so set it to -1 before passing thePhilip Guenthe
2008-10-09remove unused variableCharles Longeau
2008-07-08fix double "usage:"Igor Sobrado
2008-07-04fix compilation for !YP case; ok millert@Damien Miller
2008-06-24implement getpwnam_r() and getpwuid_r() -- very nearly a rewrite of theTheo de Raadt
2008-06-19Moved the unset of TZ environment variable out of atot into main, removingTobias Stoeckmann
2007-11-17Use mtimespec instead of mtime when comparing the timestamp of the editedTodd C. Miller
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-27-a requires a separate synopsis;Jason McIntyre
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
2007-01-15Fix -a when given an entry with an already existing user. Also, giveOtto Moerbeek
2006-03-31tiny bits of lintTheo de Raadt
2006-03-30cast to uid_t where needed; ok deraadt@Robert Nagy
2006-03-30use size_t where needed; ok deraadt@Robert Nagy
2005-12-12ARGSUSED on signal handlerTheo de Raadt
2005-11-14use asprintfTheo de Raadt
2005-04-11move two snprintf out so easier to auditTheo de Raadt
2004-07-05Use strtonum() instead of assigning the value of strtoul() to a uid_t/gid_t.Todd C. Miller
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-10-20typos from Jared Yanovich;Jason McIntyre
2003-07-02protosTheo de Raadt
2003-07-01update the table contents as well as the table widthAnil Madhavapeddy
2003-07-01- no need for pathnames.h, just use <paths.h> insteadAnil Madhavapeddy
2003-06-25put in a protoTheo de Raadt
2003-06-10- section reorderJason McIntyre
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-17%u is 11 chars, not 10; ok miod deraadt millert teduPeter Valchev
2003-04-03Deal with files w/o a trailing newline before EOF. Found by mpech@Todd C. Miller
2003-02-07More paranoia, make sure temp file owner matches real uid.Todd C. Miller
2003-02-02More paranoia when opening temp file; don't follow symlinks andTodd C. Miller