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

groupmod -m ? #105

Open
nalkema opened this issue Dec 18, 2021 · 0 comments
Open

groupmod -m ? #105

nalkema opened this issue Dec 18, 2021 · 0 comments

Comments

@nalkema
Copy link

nalkema commented Dec 18, 2021

deric-accounts: v2.0.0
deric-gpasswd: v0.3.2

I have on RHEL 7 & 8 systems the following error :

Notice: /Stage[main]/Accounts/Accounts::User[account1]/User[account1]/ensure: created (corrective)
Error: Could not set members on group[staff]: Execution of '/usr/sbin/groupmod -m account1 staff' returned 2: /usr/sbin/groupmod: invalid option -- 'm'
Usage: groupmod [options] GROUP

Options:
  -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
Error: /Stage[main]/Accounts/Accounts::Group[staff]/Group[staff]/ensure: change from 'absent' to 'present' failed: Could not set members on group[staff]: Execution of '/usr/sbin/groupmod -m account1 staff' returned 2: /usr/sbin/groupmod: invalid option -- 'm'

No idea where the m option is coming from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant