summaryrefslogtreecommitdiff
path: root/usr.sbin/user
AgeCommit message (Expand)Author
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
2004-01-03Replace bogus use of fgetln() (which doesn't NUL-terminate strings)Todd C. Miller
2003-12-25Fix multi-line stringAlexander Yurchenko
2003-12-24Fix bound checks for gecos field, taking into account it may containOtto Moerbeek
2003-12-22use .Fl for flag;Jason McIntyre
2003-09-04clarify that user's full name (not username) generally goes in GECOS;Jason McIntyre
2003-06-15small mdoc fixes;Jason McIntyre
2003-06-14For moduser(), only do valid_class() check when F_CLASS is set inTodd C. Miller
2003-06-10Check that login class exists before using it; based on a patch fromTodd C. Miller
2003-06-10o Check for fwrite() error with != 1, not <= 0 (mostly style)Todd C. Miller
2003-06-10Keep a table of password types, and their associated lengths, andTodd C. Miller
2003-06-10Use syslog(3) to log new users and groups, deletions of users and groups,Todd C. Miller
2003-06-10Catch illegal flags and reply with usage; from NetBSD (agc)Todd C. Miller
2003-06-10o rename login variable to login_nameTodd C. Miller
2003-06-08Sync man pages w/ NetBSD versionTodd C. Miller
2003-06-08Add usermgmt.conf man page. From NetBSD (grant)Todd C. Miller
2003-06-08user -e and -f now accepts "month day year" (ala chpass(1)) andTodd C. Miller
2003-06-08Make c_word const; from NetBSD (tron)Todd C. Miller
2003-06-08Add check for group too long and made an invalid group a fatal errorTodd C. Miller
2003-06-08Use _PW_NAME_LEN not MAXLOGNAME since the latter does not include the NUL.Todd C. Miller
2003-05-14Mention that without a password being specified, the account is disabledJason Peel
2003-05-13Don't allow usernames to begin with a dash since pwd_mkdb(8)Todd C. Miller
2003-04-03The check for whether or not a group is empty was busted. Closes PR 3178.Todd C. Miller
2003-03-11groupmod modifies groups, it doesn't add themTed Unangst
2003-02-14typos;Jason McIntyre
2003-01-31typos;Jason McIntyre
2002-12-10Add 2 missing pw_abort() calls when pw_mkdb() fails and remove theTodd C. Miller
2002-11-22Add some .Xr's that have been sitting in my treeTodd C. Miller
2002-11-09yet another round of SEE ALSO fixes.Federico G. Schwindt
2002-11-07Check for non-existent group in groupdel just like userdel; Sebastian StarkTodd C. Miller
2002-11-07Change some err/warn -> errx/warnx. Should maybe do the same forTodd C. Miller
2002-11-07Allow '$' in a username as long as it is the last character sinceTodd C. Miller
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-07-25Check snprintf() rval for < 0; OK deraadt@Todd C. Miller
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-09When checking for valid login names, check length against MaxUserNameLen.Todd C. Miller
2002-05-17When modifying a group w/ no members with groupmod(8) the trailingTodd C. Miller