summaryrefslogtreecommitdiff
path: root/usr.sbin/user/user.c
AgeCommit message (Expand)Author
2004-01-05Homogenize usage messages: make the 'usage' word all lowercase, as this seemsjmmv
2003-10-21Tidy up the previous isdigit(3) boolean check.agc
2003-10-21Don't compare an int to NULL.fvdl
2003-06-12Some patches from Todd C. Miller:agc
2003-04-14The "default" case usually occurs at the end of all other options, so changeagc
2003-04-14Report usage() if getopt() returns '?'dsl
2003-03-14This addresses PR 20156. isalnum(), isdigit() and isspace() are used withjrf
2003-02-03Add a check for the length of the login name given by the user.agc
2002-11-08When deleting a user with preservation, use a password ofagc
2002-11-08Factor out some common code.agc
2002-10-01valid_password_length() is a boolean function, so there's no point initojun
2002-09-30Update previous to reflect reality. For blowfish passwords, the saltagc
2002-09-30Handle PR 18474 in a more safe and scalable fashion - keep a table ofagc
2002-09-30support MD5/blowfish password. PR 18474.itojun
2002-08-27Use syslog(3) to log new users and groups, deletions of users and groups,agc
2002-08-27Generalise the function which checks if a user is local to work for groupsagc
2002-08-07Set the default password (if not specified) to a single star insteadwiz
2002-08-06Add a function is_local_user(), and use it in moduser(), to check thatagc
2002-08-06Remove the /etc/ptmp file via pw_abort(3) if the pw_mkdb(3) call fails.agc
2002-07-20sweep of errx/warnx, remove unnecessary trailing \ngrant
2002-07-08Remove user from supplementary groups when deleting a user and notagc
2002-06-01add usermgmt.conf man page.grant
2002-05-03Handle multiple ranges on the command line and in the defaults file,agc
2002-05-03Fix for skeleton directory changes to defaults file from Brian Pooleagc
2002-05-03Fix from Brian Poole <raj@cerias.purdue.edu> for improper handling ofagc
2002-05-03Modifications from Brian Poole <raj@cerias.purdue.edu>, via OpenBSD:agc
2002-03-31Do the previous differently. Run through the possible ranges for uids inagc
2002-02-05Search uid ranges properly, using command line ranges if provided, andagc
2001-10-22+ add backwards compatibility hook for old pw_mkdb() calls with no argsagc
2001-09-24va_{start,end} audit:wiz
2001-09-16if creategid() fails, don't try to print system error message (use errx()hubertf
2001-09-05PR/13874: Hubert Feyrer: Add -L class to useraddchristos
2001-08-18Update for pw_mkdb() change: restrict updates to one user's records and/orad
2001-08-17(usermod): ~F_MKDIR is usually much better than !F_MKDIR in bit masksjoda
2001-06-23do not make "useradd foo -s bar" to ignore "-s bar" silently. requireitojun
2001-02-19convert to use getprogname()cgd
2001-02-13groupmod: ensure that the modified group has the trailing newlinelukem
2000-12-23Improve handling of -l with -m, and update documentation.wiz
2000-12-23Fix moving a user's home directory with 'useradd -md /new/home/dir user'.wiz
2000-12-07Don't try to create or move directory if only '-d' is given (man pagewiz
2000-11-04Fix behaviour of 'useradd -m': it is now a fatal error if the target homesimonb
2000-11-01Remove some debugging cruft in the removal of user home directoriessimonb
2000-11-01Run a "chmod -R u+w <newhomedir>" after copying files from skeldir.simonb
2000-11-01Don't let usage messages wrap around on an 80 column terminal.simonb
2000-10-18cast pw_change (a time_t) into long and printf it as %ldassar
2000-10-17For userinfo - if a password change or expiry time_t is 0, print "NEVER"simonb
2000-10-17Handle -G for the useradd case (usermod was already correct). Alsosimonb
2000-10-17Use flags to set which parts of a passwd entry are to be changed.simonb
2000-10-11More format string cleanups by sommerfeld.is
2000-10-01Save the "preserve" value in the defaults file.simonb