summaryrefslogtreecommitdiff
path: root/usr.bin/chpass
AgeCommit message (Expand)Author
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
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-06-04spelling; raj@cerias.purdue.eduTheo de Raadt
2002-05-29more snprintfTheo 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
2002-02-13When you give command examples and etc., in a manual page prefix them with:Mike Pechkin
2001-11-23oops. Thx mpech@Marc Espie
2001-11-22Bad .IMPSRC.Marc Espie
2001-11-19kill more registersMike Pechkin
2001-08-27Instead of prompting the user whether or not they wish to continue toTodd C. Miller