aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pw/pw_group.c
Commit message (Expand)AuthorAgeFilesLines
* pw: Don't silently ignore unparsed command line arguments.Dag-Erling Smørgrav2024-05-061-5/+26
* pw: Rename some enums.Dag-Erling Smørgrav2024-05-061-2/+2
* Purge more stray embedded $FreeBSD$ stringsJohn Baldwin2023-09-251-5/+0
* pw: Ensure group membership is not duplicatedNaman Sood2023-07-191-1/+1
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
* pw: Don't return a pointer to an on-stack buffer from grp_set_passwd.John Baldwin2022-12-051-1/+2
* pw: exit with an error in case of using an illegal optionBaptiste Daroussin2022-10-121-0/+10
* 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-2/+3
* Add the groupmod '-d' option to pw to allow the deletion of existing usersSean Farley2008-02-231-15/+80