summaryrefslogtreecommitdiffstats
path: root/pw/pw_group.c
Commit message (Expand)AuthorAgeFilesLines
* pw: Fix terminal handling when setting a group password.Mark Johnston2020-09-011-7/+12
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* Fix pkg groupshow <gid>Baptiste Daroussin2016-12-101-1/+1
* Fix typo preventing pw {user,group}next -C from working as expectedBaptiste Daroussin2016-06-041-1/+1
* Restore dryrun support for pw groupmodBaptiste Daroussin2015-12-281-0/+5
* Initialize `quiet` to false so `pw groupnext` again prints out the next gidEnji Cooper2015-10-191-1/+1
* Avoid calling strlen() where we can use the strspn() return value.Ed Schouten2015-08-031-4/+4
* Split some extra long linesBaptiste Daroussin2015-08-021-2/+4
* Cleanup a bit includesBaptiste Daroussin2015-08-021-2/+2
* Fix regression: report if a group already exists when creating itBaptiste Daroussin2015-08-021-0/+2
* Rewrite parsing subcommands arguments of pw(8)Baptiste Daroussin2015-08-021-246/+511
* Cast uid/git to uintmax_t when using printf-like functions so the size ofBaptiste Daroussin2015-08-011-3/+4
* Remove now unused variableBaptiste Daroussin2015-07-111-3/+0
* Rework groupmod modification:Baptiste Daroussin2015-07-111-61/+29
* Make a separate groupdel/userdel from the main functionBaptiste Daroussin2015-07-111-17/+27
* Make separate functions to show users and groupsBaptiste Daroussin2015-07-111-16/+35
* Move the quiet flag into the configuration structureBaptiste Daroussin2015-07-111-1/+1
* Separate usernext/groupnext from the main functionsBaptiste Daroussin2015-07-111-12/+15
* Do not try to set password on group if the group is added as a consequence ofBaptiste Daroussin2015-07-091-1/+1
* Also validate inputs of pw groupmod -h and groupmod -HBaptiste Daroussin2015-07-041-46/+46
* backout remove of -q option for pw [user|group] nextBaptiste Daroussin2015-06-081-2/+5
* Fix typoBaptiste Daroussin2015-06-081-1/+1
* Remove '-q' support for pw [user|group] nextBaptiste Daroussin2015-06-071-5/+2
* Fix duplicate checkingBaptiste Daroussin2015-06-071-8/+7
* In case of rename validate the length of the new nameBaptiste Daroussin2015-06-071-5/+4
* Refactor input validationBaptiste Daroussin2015-06-071-36/+26
* Handle pretty print (-P) via global pwconfBaptiste Daroussin2015-06-071-9/+7
* Handle dryrun (-N) via global pwconfBaptiste Daroussin2015-06-071-1/+1
* Add a new global struct pwconf to store etcpath, rootdir and struct userconfBaptiste Daroussin2015-06-071-1/+2
* Instead of always casting the pw_checkname input to u_char * and casting it backBaptiste Daroussin2015-06-071-2/+2
* Cast to gid_t for groups not uid_tBaptiste Daroussin2015-05-311-1/+1
* Remove useless cast in printf and printf-like functions:Baptiste Daroussin2015-05-311-4/+4
* Cast -1 to uid_t and bump WARNING level to 3Baptiste Daroussin2015-05-311-1/+1
* Make pw_user()/pw_group() more consitent about errorsBaptiste Daroussin2015-05-311-12/+9
* Revert r277652Baptiste Daroussin2015-01-261-5/+1
* Allow negative numbers in -u and -g optionsBaptiste Daroussin2015-01-241-1/+5
* Do not delete the group wheel when bad argument is passed to pw groupdel -gBaptiste Daroussin2014-10-281-0/+5
* When a group is renamed then the group has been invalidated for sure.Baptiste Daroussin2014-10-281-3/+6
* Stop pw(8) from segfaulting when given certain inputJulian Elischer2014-03-061-6/+13
* Fix a regression in "pw group show" introduced r242349:Baptiste Daroussin2012-12-271-1/+1
* Remove useless check for NULL prior to free.Eitan Adler2012-12-051-2/+1
* Teach pw(8) about how to use pw/gr API to reduce code duplicationBaptiste Daroussin2012-10-301-0/+424
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-423/+0
* Add the groupmod '-d' option to pw to allow the deletion of existing usersSean Farley2008-02-231-15/+80
* style(9) (verified no object changes)Sean Farley2008-02-231-2/+1
* Add a `-H <fd>' option that is like `-h <fd>', but accepts an alreadyIan Dowse2004-01-111-2/+9
* Localize time/date.Andrey A. Chernov2000-06-221-2/+2
* Portability fixes for other bsd4.4 derivatives.David Nugent2000-01-151-3/+4
* Add new functionality "lock" and "unlock" to provide a simple passwordDavid Nugent1999-10-261-2/+4
* Clean up error handling in fileupdate(), which now returns 0 on successDavid Nugent1999-10-261-5/+20