summaryrefslogtreecommitdiff
path: root/usr.sbin/user
AgeCommit message (Expand)Author
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
2007-02-21put -L and -G in the right place;Jason McIntyre
2007-02-21put -G in the right place; from Igor SobradoJason McIntyre
2007-02-06fix some dodgy displays;Jason McIntyre
2007-02-06discuss consistently "the Epoch";Jason McIntyre
2007-01-12Compare against the username, so listing groups when given a numericOtto Moerbeek
2006-12-20Fix potential buffer overread in function, even though the currentRay Lai
2005-12-31Make useradd -p slightly less dangerous by overwriting the encryptedTodd C. Miller
2005-08-27change default user shell to ksh as well.Theo de Raadt
2005-07-08Don't mistakenly match groups with partial name matches in "usermod -G".Todd C. Miller
2005-04-15fix snprintf return value check. ok otto@ millert@Moritz Jodeit
2005-04-13very unlikely overflow. but sticking to the idiom is important: thereby,Theo de Raadt
2004-09-30If the yp marker is in the file, add new users before it. PR 3727.Otto Moerbeek
2004-06-26should have updated all of these first - the same wordo in them all.Jason McIntyre
2004-06-26wordo;Jason McIntyre
2004-06-14Document where we diverge from other implementations (due to differentTodd C. Miller
2004-06-06clean some lists and displays;Jason McIntyre
2004-06-04Clear up some confusion: -e is account expiry flag, -f is passwordOtto Moerbeek
2004-05-10Check return value of fclose() calls after writing.Otto Moerbeek
2004-05-10when adding a new group to /etc/groups, place it just before the firstTheo de Raadt
2004-04-19Don't complain when the /nonexistent homedir does not exist.Todd C. Miller
2004-02-26Avoid using regexp when removing a user from /etc/group entries inTodd C. Miller