Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-08-12 | Swap args to calloc(3) so they are in the correct order; art@ ok. | Aaron Campbell | |
2002-07-25 | Check snprintf() rval for < 0; OK deraadt@ | Todd C. Miller | |
2002-06-14 | spelling; from Brian Poole <raj@cerias.purdue.edu> | Todd T. Fries | |
2002-06-09 | When checking for valid login names, check length against MaxUserNameLen. | Todd C. Miller | |
Noticed by Brian Poole who supplied a different patch. | |||
2002-05-17 | When modifying a group w/ no members with groupmod(8) the trailing | Todd C. Miller | |
newline was not added. Reported by Rob Sessink, different fix by me. | |||
2002-04-04 | From Brian Poole: | Todd C. Miller | |
o unlink /etc/group temp file if rename fails o when doing 'cd' in a system() separate with && not ';' so we don't do stuff in the wrong place. Much of this should just be done inline. | |||
2002-04-03 | UID ranges specified on the command line were being overridden by | Todd C. Miller | |
those found in the config file. Those on the command line should be used in preference to the config file ranges. Based on a patch from Brian Poole. | |||
2002-03-14 | Remove \n from err/errx/warn/warnx(). | Mike Pechkin | |
millert@ ok | |||
2002-03-05 | 'user -D -k path' was not actually changing the default values unless another | Todd C. Miller | |
option to change was specified. Also fix man page formatting mistake. From Brian Poole | |||
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-12-05 | Minor sync with NetBSD | Todd C. Miller | |
o fix two err() calls that should be errx() o don't use the colonc variable in a non-obvious way o add missing or of F_SHELL when in preserve mode | |||
2001-12-05 | o Use proper uid_t and gid_t types and fixup printf format strings to match | Todd C. Miller | |
o Change "unsigned" -> "unsigned int" o Correct a buffer size that should have been LINE_MAX o Simplify creation of group entry in groupmod() using strlcat() and catch errors. Theo and myself... | |||
2001-12-05 | simplify | Theo de Raadt | |
2001-11-15 | fix password length check; allows usermod -p to work again. | Dan Harnett | |
ok millert@ | |||
2001-11-08 | Replace unreadable snprintf() and pointer arithmetic with simple strlcat(). | Todd C. Miller | |
If group file line would grow to be too long, leave it unmolested (previously it would get removed). Use fclose(fp) not close(fd) for a stream that was fdopen()ed. Otherwise we could leak memory. When calling fwrite() pass the buffer as a single element instead of using n one-byte elements. | |||
2001-09-18 | Sync with NetBSD plus the following changes: | Todd C. Miller | |
o use LINE_MAX for the max password entry length. This is also what pwd_mkdb does. o add more checks for lines that are too long o kill some useless (and incorrect) casts o check snprintf() return vals for sanity before use o sync usage() with man pages o slight KNF o eliminate some silly uses of snprintf | |||
2001-08-16 | extra arg to pw_mkdb | Todd C. Miller | |
2001-08-02 | o) .Sh AUTHOR -> .Sh AUTHORS; | Mike Pechkin | |
o) .Sh EXAMPLE -> .Sh EXAMPLES; o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION; millert@ ok | |||
2001-07-20 | we don't like: | Mike Pechkin | |
o) .Pp before/after .Sh; o) .Pp before/after .Sh; o) .Nm without argument in SYNOPSIS; | |||
2001-04-20 | update description of the -f option and reword the text about expire. | Jakob Schlyter | |
submitted by Brian Poole <raj@cerias.purdue.edu>. ok deraadt@. | |||
2001-03-24 | cleanup error message | Jakob Schlyter | |
2001-03-24 | fix usage when called as invalid binary name; <raj@cerias.purdue.edu> | Jakob Schlyter | |
2001-03-24 | fix multiple UID ranges; <raj@cerias.purdue.edu> | Jakob Schlyter | |
2001-03-24 | fix strlcpy; <raj@cerias.purdue.edu> | Jakob Schlyter | |
2001-02-13 | rely on constants; ianm@cit.uws.edu.au | Theo de Raadt | |
2000-11-26 | Update for pw_mkdb(3) interface change. All but vipw and userdel can | Todd C. Miller | |
specify a username (and thus avoid rebuilding the while database). | |||
2000-08-25 | document -s option with -D; PR#1374 | Jakob Schlyter | |
2000-07-15 | When modifying users and not specifying a new GID, don't arbitrarily | Hakan Olsson | |
reset it to the default GID, keep the old one. Further, when given a new home dir, actually use it. Fixes PR #1318. | |||
2000-07-06 | Don't write password lines longer than 1023 chars. | Hakan Olsson | |
Change two instances of err() to errx(). | |||
2000-06-16 | Fix PR 1279. | Hakan Olsson | |
2000-06-09 | chown has moved to /sbin | Todd C. Miller | |
2000-05-22 | Group command synopsis uses group... | Marc Espie | |
2000-05-05 | Forgot to update usage(). | Hakan Olsson | |
2000-05-05 | Make -G flag work for user{add,mod}. | Hakan Olsson | |
2000-05-05 | limit size of a password file entry (including &-expansion) | Jakob Schlyter | |
replace a couple of strcpy with strlcpy | |||
2000-05-04 | use _PASSWORD_LEN constant | Jakob Schlyter | |
adduser(); correct sync_uid_gid handling adduser(); initialize password correctly copydotfiles(); run chmod properly creategid(); cleanup groupmod(); add missing newline moduser(); do not overwrite shell with gecos moduser(); initialize password correctly read_defaults(); read default password from usermgmt.conf userdel(); initialize password correctly ok deraadt@. | |||
2000-04-26 | make usage readable on a console; eric jackson <shinobi@monkey.org> | Jakob Schlyter | |
2000-04-26 | usermgmt_usage doesnt return; eric jackson <shinobi@monkey.org> | Jakob Schlyter | |
2000-04-25 | references to /usr/share/examples/usermgmt removed as we do not have that | Jakob Schlyter | |
2000-04-25 | s/.Os NetBSD/.Os/ | Jakob Schlyter | |
2000-04-25 | do not replace adduser manpage (yet) | Jakob Schlyter | |
2000-04-25 | we are OpenBSD and HISTORY should say so | Jakob Schlyter | |
2000-04-25 | remove some non-important HISTORY | Jakob Schlyter | |
2000-04-24 | clean up bogus .Nm "" | Jakob Schlyter | |
2000-04-24 | default to non-verbose (previously undefined) | Jakob Schlyter | |
2000-04-24 | include cleanup | Jakob Schlyter | |
2000-04-24 | use _PATH_MASTERPASSWD & _PATH_GROUP | Jakob Schlyter | |
2000-04-24 | init | Jakob Schlyter | |
2000-04-24 | fix usage when building with EXTENSIONS | Jakob Schlyter | |
2000-04-24 | is_number() is needed even without EXTENSIONS defined | Jakob Schlyter | |