- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2.2k
 
Open
Labels
enhancementNew feature or requestNew feature or requesttriagedJira issue has been created for thisJira issue has been created for this
Description
Use Case
Currently, the members attribute of Resource Type: group is not functioning in Ubuntu.
Starting from Ubuntu 24.04, the shadow package has been upgraded to 4.13: https://launchpad.net/ubuntu/+source/shadow. This update allows the groupadd and groupmod commands to modify members in the same way that Puppet already uses for Fedora, as detailed here: #9346.
Describe the Solution You Would Like
The pull request will be followed.
Describe Alternatives You've Considered
Additional Context
root@dev:~# groupadd --help
Usage: groupadd [options] GROUP
Options:
  -f, --force                   exit successfully if the group already exists,
                                and cancel -g if the GID is already used
  -g, --gid GID                 use GID for the new group
  -h, --help                    display this help message and exit
  -K, --key KEY=VALUE           override /etc/login.defs defaults
  -o, --non-unique              allow to create groups with duplicate
                                (non-unique) GID
  -p, --password PASSWORD       use this encrypted password for the new group
  -r, --system                  create a system account
  -R, --root CHROOT_DIR         directory to chroot into
  -P, --prefix PREFIX_DI        directory prefix
  -U, --users USERS             list of user members of this group
      --extrausers              Use the extra users database
root@dev:~# groupmod --help
Usage: groupmod [options] GROUP
Options:
  -a, --append                  append the users mentioned by -U option to the group
                                without removing existing user members
  -g, --gid GID                 change the group ID to GID
  -h, --help                    display this help message and exit
  -n, --new-name NEW_GROUP      change the name to NEW_GROUP
  -o, --non-unique              allow to use a duplicate (non-unique) GID
  -p, --password PASSWORD       change the password to this (encrypted)
                                PASSWORD
  -R, --root CHROOT_DIR         directory to chroot into
  -P, --prefix PREFIX_DIR       prefix directory where are located the /etc/* files
  -U, --users USERS             list of user members of this groupMetadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttriagedJira issue has been created for thisJira issue has been created for this