summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw_user.c
Commit message (Expand)AuthorAgeFilesLines
...
* Remove uneeded code (already done by pw_make_v7)bapt2015-06-071-3/+0
* In case of rename validate the length of the new namebapt2015-06-071-4/+4
* Refactor input validationbapt2015-06-071-58/+37
* Finish converting -7 to pwconfbapt2015-06-071-4/+3
* Handle -7 via gloval pwconfbapt2015-06-071-6/+5
* Handle pretty print (-P) via global pwconfbapt2015-06-071-12/+6
* Handle dryrun (-N) via global pwconfbapt2015-06-071-5/+3
* Add a new global struct pwconf to store etcpath, rootdir and struct userconfbapt2015-06-071-14/+16
* Fix pw userdel -r not deleting homedirbapt2015-06-071-1/+1
* Test explicitly the result of strcmp to be consistent with the rest of the codebapt2015-06-071-1/+1
* Improve readability by reducing indentations levelsbapt2015-06-071-9/+11
* Remove one level of indentationbapt2015-06-071-7/+6
* Move user deletion code into a separate function to improve readabilitybapt2015-06-071-106/+115
* Instead of always casting the pw_checkname input to u_char * and casting it backbapt2015-06-071-8/+9
* New pw -R rootdir optionbapt2015-06-031-11/+33
* Remove useless cast in printf and printf-like functions:bapt2015-05-311-15/+15
* Cast -1 to uid_t and bump WARNING level to 3bapt2015-05-311-2/+2
* Make pw_user()/pw_group() more consitent about errorsbapt2015-05-311-25/+15
* Replace sprintf(3) with snprintf(3)bapt2015-05-091-7/+7
* Use snprintf(3) instead of sprintf(3)bapt2015-05-091-8/+7
* Remove some uneeded headersbapt2015-05-091-1/+0
* Replace malloc(3) + strcpy(3) + strcat(3) by asprintf(3)bapt2015-05-091-3/+1
* Use snprintf(3) instead of strcpy(3) + strncat(3)bapt2015-05-091-2/+1
* Revert r277652bapt2015-01-261-4/+1
* Allow negative numbers in -u and -g optionsbapt2015-01-241-1/+4
* Ensure pw userdel -u <invalid> do not try to remove rootbapt2014-10-281-0/+3
* Fix a regression in pw usermod -G listbapt2014-10-281-1/+19
* Two more places where login_setcryptfmt() defaults to MD5 were misseddes2014-10-091-2/+2
* pw: fix up deletion of users from groupsmjg2014-06-271-4/+3
* Fix pw(8) deletion of group "username" on userdel even if group "username"dteske2014-03-131-1/+9
* Part 2 of bug 187310.. had to commit separately due to local confusion.julian2014-03-061-15/+21
* Fall back to sha512 if passwd_format is not set.des2013-07-041-1/+1
* There is no reason to disallow setting the password or account expirydes2013-07-031-4/+0
* Fix -Wunsequenced warningkientzle2013-06-291-1/+1
* Prevent a null pointer dereference in pw userdel when deletingdeischen2013-02-011-1/+1
* pw: free group returned by gr_addmjg2013-01-061-0/+1
* Simplify the code by using the new gr_add functionbapt2012-12-271-15/+9
* Simplify copying of group members by using memcpybapt2012-12-261-2/+1
* Fix off-by-one error in memory allocation: j entries, one new and a nullbapt2012-12-261-1/+1
* Fix creating a user and adding it to a groupbapt2012-12-261-7/+8
* Avoid overflow of file buffereadler2012-12-051-1/+1
* Teach pw(8) about how to use pw/gr API to reduce code duplicationbapt2012-10-301-7/+51
* Do not treat empty name as an uid 0bapt2012-10-011-1/+2
* Remove useless atoi(3), previous strspn(3) makes sure that a_name->val is abapt2012-10-011-2/+1
* Handle NULL return from crypt(3). Mostly from DragonFlykevlo2012-02-221-1/+5
* In usr.sbin/pw/pw_user.c, use the correct printf length modifier for adim2011-12-171-1/+1
* Backout r223115 which potentially caused a POLA violation, by restoringdelphij2011-07-311-1/+1
* Don't attempt to create the base directory when -d is specified.delphij2011-06-151-1/+1
* Stop hard-coding default directory mode as 0777.jkim2011-03-081-6/+4
* Do not let pw.conf(5) or -M option affect creation of basehome, e.g., /home.jkim2011-02-041-5/+5
OpenPOWER on IntegriCloud