summaryrefslogtreecommitdiff
path: root/usr.sbin/user/user.c
AgeCommit message (Expand)Author
2009-12-31Add new keyword gid_range to usermgmt.conf which specifies a defaultmlelstv
2009-10-15Fix -p:hubertf
2009-03-20Fix check for duplicate gid when '-g =uid' is specified to usermod.mike
2009-03-18Do not allow duplicate group id in groupmod unless -o is specified.mike
2009-03-11bin/40994: Michael van Elst: usermod -l change password so user is unable tochristos
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2008-02-27Remove the -v verbose switch from userinfo. It was not used.reed
2008-02-04disclaim copyrighthubertf
2006-11-02Change the default shell to /bin/sh. It has most of the usabilitypavel
2006-10-13Sort options in usage.wiz
2006-10-07PR/30351: Hubert Feyrer: useradd(8) doesn't allow setting permissions ofelad
2006-09-30revert change of default shell, reguested by agc@.pavel
2006-09-30Change the default shell to /bin/ksh, which is our best interactivepavel
2006-09-30in userinfo, initialize buf (the buffer which will hold group names)pavel
2006-06-27use realloc instead of free+callocchristos
2006-06-02try again with the Coverity annotationjnemeth
2006-05-27Coverity annotation -- although memsave free()s its first argument, itjnemeth
2006-03-22Garbage collect cc in moduser, it is only set once, but never read asjoerg
2006-03-22Don't leak FILEs when flock fails. Found by Coverity (CID 1776, 1777 andjoerg
2006-03-17put the array bounds check _before_ accessing the array.dmcmahill
2006-03-17put the array bounds check _before_ accessing the array.dmcmahill
2006-02-23By popular demand don't bail out if a user's shell is not in /etc/shells.christos
2006-01-26Add a missing space in the usage message.jmmv
2006-01-14Use a CPP definition for "/sbin/nologin" - it's at the top of theagc
2006-01-13Add forgotten ')'.elad
2006-01-13treat /sbin/nologin specially.christos
2006-01-06Add checks for valid shell. From Liam Foy.christos
2005-11-25Be pragmatic - move user(8) to a 3-clause BSD licence.agc
2005-11-07remove asprintf and strlcpy. We don't support NetBSD1.3 and NetBSD1.4.christos
2005-11-07More cleanups from Liam Foy:christos
2005-10-05call pw_abort() on failure (from Liam Foy)christos
2005-09-19PR 22469: user.c should use "pwd.h" include file forrpaulo
2005-09-18Ensure that a consistent coding style is used.agc
2005-09-18From Liam Foy:christos
2005-09-12Warn if the group being removed is still the primary group of an existingchristos
2005-09-09Sync group* usages with man pages.wiz
2005-09-09Sync user* usage with man pages. Bonus grammar fix in comment.wiz
2005-08-12Check the return value from mktime() and pass any error up.he
2005-08-12patch from Liam Foy to add a -F option to force a user to change her's/hischristos
2005-07-30The language lawyers claim that it is invalid to test a freed pointer, sochristos
2005-07-30If the class was not specified, don't print a warning.christos
2005-07-29Don't make it fatal if the login class doe not exist. From Jukka Salmi.christos
2005-07-27Minor tweaks to the usage message:peter
2005-07-27Patches from Liam Foy:christos
2005-07-20Commit changes from Liam J. Foy:agc
2005-06-14Be consistent when deleting a non-existent group - tell if the group isagc
2005-04-05Do some Common Subexpression Elimination when testing for valid charactersagc
2005-04-05Allow '_', '.' and '-' in group names, like in login names.peter
2005-02-05Add the -r flag to groupadd; it can be used to specify a gid range in whichjmmv
2004-07-02Now that we have SHA1 passwords, modify useradd(8) so that it will acceptagc