Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-11-15 | Reduce instances of `` '' in manuals. | Anthony J. Bentley | |
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@ | |||
2014-10-26 | Prefer mkostemp(O_CLOEXEC) over mkstemp()+fcntl(F_SETFD) | Philip Guenther | |
Prefer fopen("re") over fopen("r")+fcntl(F_SETFD) ok otto@ millert@ | |||
2014-02-16 | fix bibliographical references; from Jan Stary <hans at stare dot cz> | Ingo Schwarze | |
feedback and ok jmc@ | |||
2013-11-26 | unsigned char casts for ctype | Theo de Raadt | |
ok krw | |||
2013-08-14 | some Bx/Ox conversion; | Jason McIntyre | |
From: Jan Stary | |||
2013-04-18 | - use FD_CLOEXEC instead of 1 | Okan Demirmen | |
- use O_CLOEXEC with open() instead of open/fcntl from David Hill ok otto@ | |||
2012-06-20 | Correct English just like jsing@ did it in passwd/local_passwd.c rev. 1.38 | Ingo Schwarze | |
on April 27, 2008. While here, fix a typo and drop an obsolete BUGS section. "my typo so OK millert@ :-)" and OK jmc@ | |||
2012-06-19 | sync the descriptions of /etc/passwd; | Jason McIntyre | |
issue spotted by f5b help/ok schwarze | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-10-22 | use the UNIX-related macros (.At and .Ux) where appropriate. | Igor Sobrado | |
ok jmc@ | |||
2009-04-30 | fix previous, admin may again set non-standard shell; ok millert@ | Jacek Masiulaniec | |
2009-03-05 | Call endusershell() at the end of ok_shell(), making a copy of the | Todd C. Miller | |
(possibly) expanded shell as needed. OK deraadt@ | |||
2009-02-15 | in a secure YP context, a chpass would whack the user's password to * | Theo de Raadt | |
which is clearly not the intent. PR 4177, fix from schwarze@usta.de | |||
2008-12-16 | strptime() never sets tm_isdst, so set it to -1 before passing the | Philip Guenthe | |
struct tm to mktime() so that the calculation will follow the local DST rules ok millert@ otto@ | |||
2008-10-09 | remove unused variable | Charles Longeau | |
ok millert@ jsing@ | |||
2008-07-08 | fix double "usage:" | Igor Sobrado | |
2008-07-04 | fix compilation for !YP case; ok millert@ | Damien Miller | |
2008-06-24 | implement getpwnam_r() and getpwuid_r() -- very nearly a rewrite of the | Theo de Raadt | |
entire file. much help from kurt, and tested by many | |||
2008-06-19 | Moved the unset of TZ environment variable out of atot into main, removing | Tobias Stoeckmann | |
an unused static var and test out of atot. With input by jsing and millert, ok millert | |||
2007-11-17 | Use mtimespec instead of mtime when comparing the timestamp of the edited | Todd C. Miller | |
file. OK miod@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-03-27 | -a requires a separate synopsis; | Jason McIntyre | |
from Daniel Polak via henning ok henning | |||
2007-03-20 | remove some bogus *p tests from charles longeau | Ted Unangst | |
ok deraadt millert | |||
2007-01-15 | Fix -a when given an entry with an already existing user. Also, give | Otto Moerbeek | |
error message if a user arg has been given with -a. Noted by Dan Brosemer. ok millert@ jaredy@ | |||
2006-03-31 | tiny bits of lint | Theo de Raadt | |
2006-03-30 | cast to uid_t where needed; ok deraadt@ | Robert Nagy | |
2006-03-30 | use size_t where needed; ok deraadt@ | Robert Nagy | |
2005-12-12 | ARGSUSED on signal handler | Theo de Raadt | |
2005-11-14 | use asprintf | Theo de Raadt | |
2005-04-11 | move two snprintf out so easier to audit | Theo de Raadt | |
2004-07-05 | Use strtonum() instead of assigning the value of strtoul() to a uid_t/gid_t. | Todd C. Miller | |
Fixes a warning on 64bit platforms and is less error-prone. OK otto@ | |||
2004-05-10 | unbreak chsh, ok millert | Peter Stromberg | |
2004-04-20 | Adapt to new pw_copy() API, closes PR 3698. | Todd C. Miller | |
2003-11-26 | This is ISO C, use string concatenation, instead of bogus use of __CONCAT. | Marc Espie | |
(hint: "a" and "b" can't be pasted as a valid C token...) okay millert@ | |||
2003-10-20 | typos from Jared Yanovich; | Jason McIntyre | |
2003-07-02 | protos | Theo de Raadt | |
2003-07-01 | update the table contents as well as the table width | Anil Madhavapeddy | |
pointed out by Dr. Mdoc jmc@ | |||
2003-07-01 | - no need for pathnames.h, just use <paths.h> instead | Anil Madhavapeddy | |
- bump mktemp randomness slightly from 8 -> 10 millert@ ok | |||
2003-06-25 | put in a proto | Theo de Raadt | |
2003-06-10 | - section reorder | Jason McIntyre | |
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ | |||
2003-06-03 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-04-17 | %u is 11 chars, not 10; ok miod deraadt millert tedu | Peter Valchev | |
2003-04-03 | Deal with files w/o a trailing newline before EOF. Found by mpech@ | Todd C. Miller | |
2003-02-07 | More paranoia, make sure temp file owner matches real uid. | Todd C. Miller | |
2003-02-02 | More paranoia when opening temp file; don't follow symlinks and | Todd C. Miller | |
require that the link count be one. Prompted by a report from Marc Bevand. deraadt@ OK | |||
2002-07-31 | When I got removed the use of atexit() I missed the fact that edit() | Todd C. Miller | |
calls pw_error() which in turn calls exit(). Now edit() returns its status so the temp file gets cleaned up nicely if the user makes no changes or if an error occurred. Problem noticed by deraadt@ | |||
2002-06-27 | move protos | Theo de Raadt | |
2002-06-27 | There is absolutely no reason for the "tempname" or dfd variables | Todd C. Miller | |
to exist outside the scope of the 'op == EDITENTRY' code block. This allows us to get rid of the atexit() call and tempcleanup(). | |||
2002-06-27 | cleanup; mpech & millert ok | Theo de Raadt | |