summaryrefslogtreecommitdiff
path: root/usr.sbin/user
AgeCommit message (Expand)Author
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
2012-09-20Be consistent with what the installer and useradd(8) do and put newlyAntoine Jacoutot
2012-09-18Add 2 new knobs to usermod(8):Antoine Jacoutot
2012-01-29fix previous: grp is unused here just check the return valueAntoine Jacoutot
2012-01-28Make it possible to remove a user from all secondary groups by using:Antoine Jacoutot
2012-01-28When setting the groups (`-S'), make sure all provided groups exist inAntoine Jacoutot
2012-01-12fgets(3) returns a pointer, so compare against NULL, not integer 0.Antoine Jacoutot
2011-12-31Remove the EXTENSIONS ifdef danse; it might have made sense in the pastAntoine Jacoutot
2011-12-30Fix a warning.Antoine Jacoutot
2011-12-27Follow adduser(8) behaviour (as well as what the pkg tools and ourAntoine Jacoutot
2011-12-24-p requires an argument; from Stefan PetterssonJason McIntyre
2011-12-04Add a new '-S' option to _set_ the user's secondary group(s) (which alsoAntoine Jacoutot
2011-07-18Sync user(8) SYNOPSIS to useradd(8) and userinfo(8)Ingo Schwarze