summaryrefslogtreecommitdiff
path: root/usr.sbin/user
AgeCommit message (Expand)Author
2022-12-28spelling fixes; from paul tagliamonteJason McIntyre
2022-02-06remove please from manual pagesJonathan Gray
2019-10-17Use -1 to indicate an invalid uid/gid, not UID_MAX and GID_MAX.Todd C. Miller
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-28mkstemp() returns -1 on failureTheo de Raadt
2018-12-31A bad uid range on the command line should be a fatal error.Todd C. Miller
2018-10-15Use user_from_uid(), uid_from_user(), group_from_gid() andTodd C. Miller
2018-09-26Fix segfault in usermod -l by swapping one of the getpwnam(3) withRicardo Mestre
2018-09-13Fix warnings caused by user_from_uid() and group_from_gid() nowTodd C. Miller
2017-05-24Remove 2 unused parameters from copydotfiles functionRicardo Mestre
2017-05-12Replace memset(3) with explicit_bzero(3) on user(8) on sensitive dataRicardo Mestre
2016-11-30Since pwp->pw_gid is equal to pwp->pw_uid then use the former instead inRicardo Mestre
2016-11-30Mitigate some fd leaks on user(8)Ricardo Mestre
2016-11-30note that no group is created if a group already exists when using =uid;Jason McIntyre
2016-11-30According to usermod(8) manpage if -g =uid is used it should create a new groupRicardo Mestre
2016-11-29remove all the (void) casts which are irrelevant. The remaining onesTheo de Raadt
2016-11-29Correct a bit test introduced in user.c rev 1.111 that made it impossibleJonathan Gray
2016-11-29Alistair Crooks rescinded the advertising clause of his user(8)Jonathan Gray
2016-08-16Xr encrypt(1) here as well to be consistent with useradd(8).Theo Buehler
2016-08-14Xr encrypt(1) in the explanation of the -p option.Theo Buehler
2016-08-10Remove the encrypted password length check. The admin should beTodd C. Miller
2016-05-03Fix regression on usermod/userdel by calling getpwnam_shadow(3) and savingRicardo Mestre
2016-05-02When writing master.password entries, use %lld for time_t and castTodd C. Miller
2016-04-26Add pledge(2) promises independently on each user(8)'s functions as follows:Ricardo Mestre
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2016-03-29If program cannot reserve memory then the user doesn't need to know exactly howRicardo Mestre
2016-03-29-Remove function #defines from defs.h and use the actual code accordingly inRicardo Mestre
2016-03-28Remove cast from free(3)Ricardo Mestre
2016-03-28Remove handrolled #define FREE and use free(3) directly without wrappingRicardo Mestre
2016-01-08Zap extraneous SYNOPSIS sections.Vadim Zhukov
2015-11-30pledge regression: some operations appear to want to getpwent fromTheo de Raadt
2015-11-15pledge "stdio rpath wpath cpath fattr getpw flock id proc exec" at theTheo de Raadt
2015-11-15Really silly to chmod "st_mode & 07777" when making a copy of theTheo de Raadt
2015-09-12use .Cm for fixed string argumentsIngo Schwarze
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-04-24read_defaults has the thing for strtonum to chew on in cp, notDavid Gwynne
2015-04-23Replace atoi() usage with strtonum(). OK deraadt@Todd C. Miller
2015-03-13remove the first comma from constructs like ", and," and ", or,": you can useJason McIntyre
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-01use reallocarray() deep inside an macro ugly as sinTheo de Raadt
2014-08-27Add missing capability to handle new $2b version of blowfish passwordSebastian Reitenbach
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
2013-11-23unsigned char casts for ctype; ok jcaTheo de Raadt
2013-09-10Move the chown and chmod out of copydotfiles() and add an explicitTodd C. Miller
2013-08-06Write uids/gids as unsigned in the passwd file and error messages.Todd C. Miller
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-04-02for parsing time values, fall back to atoll() for time_tTheo de Raadt
2013-03-04When locking/unlocking an account, never touch passwords that are "*"Antoine Jacoutot
2013-02-16Fix unlocking on 32bits arch where it would fuck up the shell...Antoine Jacoutot