summaryrefslogtreecommitdiffstats
path: root/usr.sbin/user (follow)
Commit message (Expand)AuthorAgeFilesLines
* Use -1 to indicate an invalid uid/gid, not UID_MAX and GID_MAX.millert2019-10-171-5/+5
* snprintf/vsnprintf return < 0 on error, rather than -1.deraadt2019-07-031-2/+2
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-20/+20
* mkstemp() returns -1 on failurederaadt2019-06-281-6/+6
* A bad uid range on the command line should be a fatal error.millert2018-12-311-3/+4
* Use user_from_uid(), uid_from_user(), group_from_gid() andmillert2018-10-151-17/+48
* Fix segfault in usermod -l by swapping one of the getpwnam(3) withmestre2018-09-261-2/+4
* Fix warnings caused by user_from_uid() and group_from_gid() nowmillert2018-09-131-2/+2
* Remove 2 unused parameters from copydotfiles functionmestre2017-05-241-5/+28
* Replace memset(3) with explicit_bzero(3) on user(8) on sensitive datamestre2017-05-121-4/+4
* Since pwp->pw_gid is equal to pwp->pw_uid then use the former instead inmestre2016-11-301-4/+4
* Mitigate some fd leaks on user(8)mestre2016-11-301-1/+6
* note that no group is created if a group already exists when using =uid;jmc2016-11-302-21/+18
* According to usermod(8) manpage if -g =uid is used it should create a new groupmestre2016-11-301-4/+12
* remove all the (void) casts which are irrelevant. The remaining onesderaadt2016-11-291-156/+158
* Correct a bit test introduced in user.c rev 1.111 that made it impossiblejsg2016-11-291-2/+3
* Alistair Crooks rescinded the advertising clause of his user(8)jsg2016-11-2913-75/+36
* Xr encrypt(1) here as well to be consistent with useradd(8).tb2016-08-162-6/+9
* Xr encrypt(1) in the explanation of the -p option.tb2016-08-141-3/+5
* Remove the encrypted password length check. The admin should bemillert2016-08-101-71/+5
* Fix regression on usermod/userdel by calling getpwnam_shadow(3) and savingmestre2016-05-031-7/+17
* When writing master.password entries, use %lld for time_t and castmillert2016-05-021-7/+7
* Add pledge(2) promises independently on each user(8)'s functions as follows:mestre2016-04-261-1/+36
* for some time now mandoc has not required MLINKS to functionjmc2016-03-301-3/+1
* If program cannot reserve memory then the user doesn't need to know exactly howmestre2016-03-291-3/+2
* -Remove function #defines from defs.h and use the actual code accordingly inmestre2016-03-293-88/+15
* Remove cast from free(3)mestre2016-03-281-2/+2
* Remove handrolled #define FREE and use free(3) directly without wrappingmestre2016-03-282-17/+7
* Zap extraneous SYNOPSIS sections.zhuk2016-01-081-4/+2
* pledge regression: some operations appear to want to getpwent fromderaadt2015-11-301-5/+1
* pledge "stdio rpath wpath cpath fattr getpw flock id proc exec" at thederaadt2015-11-151-1/+5
* Really silly to chmod "st_mode & 07777" when making a copy of thederaadt2015-11-151-5/+5
* use .Cm for fixed string argumentsschwarze2015-09-123-31/+19
* stdlib.h is in scope; do not cast malloc/calloc/realloc*deraadt2015-08-201-3/+3
* read_defaults has the thing for strtonum to chew on in cp, notdlg2015-04-241-2/+2
* Replace atoi() usage with strtonum(). OK deraadt@millert2015-04-231-71/+61
* remove the first comma from constructs like ", and," and ", or,": you can usejmc2015-03-133-14/+14
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+4
* use reallocarray() deep inside an macro ugly as sinderaadt2014-12-011-5/+9
* Add missing capability to handle new $2b version of blowfish passwordsebastia2014-08-271-5/+8
* Make sure the correct errno is reported by warn* or err* and notguenther2014-07-201-39/+63
* unsigned char casts for ctype; ok jcaderaadt2013-11-231-14/+16
* Move the chown and chmod out of copydotfiles() and add an explicitmillert2013-09-101-3/+6
* Write uids/gids as unsigned in the passwd file and error messages.millert2013-08-061-13/+13
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-1610-30/+30
* for parsing time values, fall back to atoll() for time_tderaadt2013-04-021-2/+2
* When locking/unlocking an account, never touch passwords that are "*"ajacoutot2013-03-041-4/+9
* Fix unlocking on 32bits arch where it would fuck up the shell...ajacoutot2013-02-161-4/+6
* Be consistent with what the installer and useradd(8) do and put newlyajacoutot2012-09-201-2/+2
* Add 2 new knobs to usermod(8):ajacoutot2012-09-182-7/+117