summaryrefslogtreecommitdiffstats
path: root/pw/pw.c
Commit message (Expand)AuthorAgeFilesLines
* pw: (file == NULL) check is always false in read_userconfig(), removeYuri Pankov2018-10-161-1/+2
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* Fix a repeated typo: rootir -> rootdir.Warren Block2015-10-091-11/+11
* Cleanup a bit includesBaptiste Daroussin2015-08-021-3/+4
* Rewrite parsing subcommands arguments of pw(8)Baptiste Daroussin2015-08-021-261/+35
* Partial revert of r286152Baptiste Daroussin2015-08-011-10/+0
* Validate expiration days and password days from commmand line and pw.confBaptiste Daroussin2015-08-011-0/+10
* Create a strtounum function using the same API as strtonumBaptiste Daroussin2015-07-291-3/+3
* Check uid/gid used when creating a user/group are not larger than UID_MAX/GID...Baptiste Daroussin2015-07-281-2/+2
* when -n is passed to any pw subcommand it is always expected to be considered asBaptiste Daroussin2015-07-281-8/+1
* Really fix -oBaptiste Daroussin2015-07-131-1/+1
* Fix logic of check duplicates that has been invertedBaptiste Daroussin2015-07-131-1/+2
* Rework the home directory creation and copy or the skel content to use *atBaptiste Daroussin2015-07-121-0/+4
* Make getarg return NULL if args is NULLBaptiste Daroussin2015-07-121-1/+6
* check the gecos format early: at the moment the -c option is parsedBaptiste Daroussin2015-07-111-0/+3
* Make a separate groupdel/userdel from the main functionBaptiste Daroussin2015-07-111-0/+3
* Make separate functions to show users and groupsBaptiste Daroussin2015-07-111-0/+6
* Move the quiet flag into the configuration structureBaptiste Daroussin2015-07-111-1/+4
* Do not try to set password on group if the group is added as a consequence ofBaptiste Daroussin2015-07-091-0/+1
* Validate input of pw usermod -h and pwusermod -HBaptiste Daroussin2015-07-041-0/+30
* backout remove of -q option for pw [user|group] nextBaptiste Daroussin2015-06-081-3/+5
* Fix mistakes than came along with r284139Baptiste Daroussin2015-06-071-2/+2
* Remove '-q' support for pw [user|group] nextBaptiste Daroussin2015-06-071-5/+3
* Fix setting uid/gid min/max via pwBaptiste Daroussin2015-06-071-4/+13
* Fix generating configuration fileBaptiste Daroussin2015-06-071-1/+2
* Fix duplicate checkingBaptiste Daroussin2015-06-071-0/+4
* In case of rename validate the length of the new nameBaptiste Daroussin2015-06-071-0/+5
* Refactor input validationBaptiste Daroussin2015-06-071-6/+43
* Handle -7 via gloval pwconfBaptiste Daroussin2015-06-071-0/+3
* Initialize conf using menset(3)Baptiste Daroussin2015-06-071-3/+1
* Handle pretty print (-P) via global pwconfBaptiste Daroussin2015-06-071-0/+4
* Handle dryrun (-N) via global pwconfBaptiste Daroussin2015-06-071-1/+5
* Handle -C and -Y locally and stop adding them to arglistBaptiste Daroussin2015-06-071-5/+15
* Add a new global struct pwconf to store etcpath, rootdir and struct userconfBaptiste Daroussin2015-06-071-30/+26
* New pw -R rootdir optionBaptiste Daroussin2015-06-031-27/+52
* Use asprintf instead of malloc + snprintf and test the memory allocationBaptiste Daroussin2015-05-311-2/+3
* Fix wrong message when using pw -V with a non existent directoryBaptiste Daroussin2014-11-121-0/+8
* Teach pw(8) about how to use pw/gr API to reduce code duplicationBaptiste Daroussin2012-10-301-0/+452
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-456/+0
* Add the groupmod '-d' option to pw to allow the deletion of existing usersSean Farley2008-02-231-1/+2
* style(9) (verified no object changes)Sean Farley2008-02-231-1/+1
* Add home directory creation mode to pw.conf(5) and be a bitLukas Ertl2007-03-301-0/+1
* Add -M argument to usage() output.Lukas Ertl2007-03-301-0/+2
* Introduce the new option -M to allow to set the permissions ofLukas Ertl2007-03-261-3/+2
* o Fix groupadd getopt line and make 'pw groupadd -o' work.Maxim Konovalov2006-09-181-1/+1
* Add a `-H <fd>' option that is like `-h <fd>', but accepts an alreadyIan Dowse2004-01-111-4/+6
* Fix the type of the NULL arg to execl()Brian Somers2001-07-091-1/+1
* Fix a harmless format string bogon and mark a function as __printflike().Kris Kennaway2001-07-051-1/+1
* Document the lock and unlock commands. This fixes a segmentation fault.Dima Dorfman2001-03-141-0/+10
* Convert to use the <sys/queue.h> macros rather than fiddling with the queueBen Smithurst2000-12-291-2/+2