summaryrefslogtreecommitdiff
path: root/usr.sbin/user
AgeCommit message (Expand)Author
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
2011-04-17improve line breaking in the SYNOPSIS section.Igor Sobrado
2011-04-16remove trailing whitespace, no binary change.Igor Sobrado
2011-04-16rephrase argument to -g for consistency not only with useradd(8)Igor Sobrado
2011-04-08- avoid nasty line wrap in SYNOPSISJason McIntyre
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
2010-09-19more wacky macro fixing;Jason McIntyre
2010-09-03add an EXIT STATUS section for /usr/sbin;Jason McIntyre
2010-07-26- use warnx instead of warn when skipping large lines, as errno isMiod Vallat
2009-02-08deal with potential empty string fgets can returnCharles Longeau
2009-01-21paragraphs and sentences start with uppercase letters; synchronizeIgor Sobrado
2009-01-19replace standardized text concerning the exit values of applicationsIgor Sobrado
2008-12-20- various improvements from Ingo Schwarze;Jason McIntyre
2008-12-16strptime() never sets tm_isdst, so set it to -1 before passing thePhilip Guenthe
2008-10-09When adding a new user, do not move a potential yp line (+:*:::0:0::::) to theMiod Vallat
2007-08-02catch a few truncation cases instead of silently ignoring them. one of theTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-05remove some extra tests, from charles longeauTed Unangst
2007-03-02Check if group exists before checking if group is local.Ray Lai
2007-03-02Replace regex(3) routines with simple string searching and comparisonRay Lai