Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-08-27 | missing va_end(); OK deraadt | Gleydson Soares | |
2015-08-19 | add missing prototype | Theo de Raadt | |
2015-04-24 | Write (uid_t)-1 as -1 instead of UID_MAX in the v7 passwd file. | Todd C. Miller | |
OK deraadt@ | |||
2015-04-15 | Convert error/errorx/errorc functions -> fatal/fatalx/fatalc and | Todd C. Miller | |
make then take a printf format string instead of requiring the caller to snprintf into a buffer first. OK deraadt@ | |||
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-08-25 | Delete secret or secret-derived data with explicit_bzero. | Doug Hogan | |
concept ok deraadt@ diff looks ok tedu@ | |||
2014-05-20 | Use errc/warnc to simplify code. | Philip Guenther | |
Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@ | |||
2014-01-20 | Obvious .Xr fixes, found while testing mandocdb(8). | Ingo Schwarze | |
2012-11-02 | Remove 13 years old compiler bug workaround on m68k. Apparently fixed or swept | Miod Vallat | |
under the rug as part of the bunch of compiler fixes in the last 10+ years. No objection from espie@ (who doesn't remember exactly what the issue used to be) | |||
2010-01-08 | Don't leak the fds we open in cp() to copy one file from another. | Owain Ainsworth | |
from Igor Zinovik; thanks! ok millert@ | |||
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-04 | Typo: chance -> change | Antoine Jacoutot | |
ok millert@ | |||
2008-06-25 | Add _PW_BUF_LEN define and use it instead of hard-coding 1024 for | Todd C. Miller | |
the buffer size. OK deraadt@ | |||
2008-03-17 | sync the synopsis and usage; "usage:" is lowercase | Igor Sobrado | |
ok jmc@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-02-18 | tidy up synopsis and options list; from Igor Sobrado | Jason McIntyre | |
2006-08-27 | Change ``etc'' to ``/etc'' for consistency with the rest of th epage. | Ray Lai | |
OK jmc@. | |||
2004-10-12 | Actually, /etc/passwd is 6th Edition-style, not 7th. The only real | Todd C. Miller | |
diff between /etc/passwd in 6th and 7th was the crypt() algorithm used and we no longer put encrypted passwords in /etc/passwd. From Matthew Gregan; OK otto@ | |||
2004-08-08 | spacing | Theo de Raadt | |
2004-03-09 | Be more clear about where the source file is coming from and what will | Otto Moerbeek | |
happen to it. ok millert@ cedric@ | |||
2003-06-28 | () to (void) | Theo de Raadt | |
2003-06-12 | - section reorder | Jason McIntyre | |
- macro fixes - kill whitespace at EOL - new sentence, new line | |||
2003-06-08 | Sanity check username length and convert to ANSI function headers. | Todd C. Miller | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-04-13 | Clarify the -d option and allow the passwd file argument to not be | Todd C. Miller | |
a fully qualified pathname if -d was specified (since we take the basename in that case anyway). deraadt@ OK | |||
2003-03-28 | Check strdup() rval for NULL; noticed by mpech@ | Todd C. Miller | |
2002-11-21 | Rename shadow group to _shadow | Todd C. Miller | |
This means the instructions in the previous commit are now wrong (replace shadow with _shadow and all will be well). | |||
2002-11-21 | Add a "shadow" group and make the shadow passwd db readable by that | Todd C. Miller | |
group. This changes getpw* to always try the shadow db first and then fall back to the db w/o password hashes. In the future, /usr/libexec/auth/login_passwd (and others) will be setgid shadow instead of setuid root. OK deraadt@ If you track -current you should do the following: o add group shadow to /etc/group o chgrp shadow /etc/spwd.db o chmod 640 /etc/spwd.db o rebuild and install src/usr.sbin/pwd_mkdb You do not need to rebuild libc yet, but it would't hurt to do so. | |||
2002-06-27 | Document why it's static. | Artur Grabowski | |
2002-06-02 | minor KNF | Theo de Raadt | |
2002-05-29 | more strlcat and strlcpy | Theo de Raadt | |
2002-05-22 | more strcpy/sprintf death; mpech ok | Theo de Raadt | |
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-09-17 | skip to uid field, not gid | Mike Pechkin | |
millert@ ok | |||
2001-08-16 | Add -s flag to only update secure .db file (/etc/spwd.db). Can be | Todd C. Miller | |
used in conjunction with -u user when only the password has changed. | |||
2001-06-08 | Section shuffling; mpech@prosoft.org.lv | Aaron Campbell | |
2001-06-07 | Close PR 1854; mpech@prosoft.org.lv | Todd C. Miller | |
o use correct db pointers o don't try to star out an empty password | |||
2001-06-05 | Remove leading '+' from the -u arg description; mbing@nfr.net | Todd C. Miller | |
2000-11-26 | *** empty log message *** | Todd C. Miller | |
2000-11-26 | Support -u username option. Loosely based on FreeBSD's changes. | Todd C. Miller | |
I've also restructured things a bit to cut the number of master.passwd parses in half from 6 to 3. We can't really get away with fewer than that without sacrificing locality in the .db files. | |||
2000-11-09 | Change all option list specifications to ".Bl -tag -width Ds". Most man | Aaron Campbell | |
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything. | |||
2000-06-30 | warnx?/errx? paranoia (use "%s" not a bare string unless it is a | Todd C. Miller | |
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales). | |||
2000-03-19 | Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some other | Aaron Campbell | |
cleanup along the way. | |||
1999-06-06 | Completely forgot about that one (yep, it has been in my tree for a long | Marc Espie | |
while). | |||
1999-06-05 | remove trailing whitespace, some Nm cleanup | Aaron Campbell | |
1999-05-23 | remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common | Aaron Campbell | |
is used instead; kwesterback@home.com | |||
1999-04-21 | Don't display the string associated with errno for "basedir too long" | Alex Feldman | |
diagnostic. Issue a diagnostic message if the master.passwd file isn't specified as an absolute path. | |||
1999-04-02 | all .Nm macros should have an argument in SYNOPSIS; also misc cleanup | Aaron Campbell | |
1999-03-11 | cleanup | Aaron Campbell | |
1998-07-15 | Fix a u_int vs. off_t issue and provide an estimate of the number | Todd C. Miller | |
of elements in the hash based on master.passwd file size, assuming an average 128bytes per entry. This is only an estimate so it doesn't have to be exact. |