Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle groupadd in Ubuntu 24.04 #9502

Open
jiwonaid opened this issue Oct 17, 2024 · 0 comments · May be fixed by #9503
Open

Handle groupadd in Ubuntu 24.04 #9502

jiwonaid opened this issue Oct 17, 2024 · 0 comments · May be fixed by #9503
Labels
enhancement New feature or request

Comments

@jiwonaid
Copy link

jiwonaid commented Oct 17, 2024

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 group
@jiwonaid jiwonaid added the enhancement New feature or request label Oct 17, 2024
@jiwonaid jiwonaid linked a pull request Oct 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant