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

groupadd: unrecognized option `--system' #630

Closed
kardapoltsev opened this issue Jul 28, 2015 · 4 comments
Closed

groupadd: unrecognized option `--system' #630

kardapoltsev opened this issue Jul 28, 2015 · 4 comments

Comments

@kardapoltsev
Copy link
Member

I've got this error on CentOS release 5.10 (Final).
Should this option be removed from rpm preinstall or I need to create custom preinstall script?

@kardapoltsev
Copy link
Member Author

CentOS:
-r This flag instructs groupadd to add a system account. The first available gid lower than GID_MIN will be automatically selected unless the -g option is also given on the command line. This is an option added by Red Hat.
Debian:
-r, --system Create a system group. The numeric identifiers of new system groups are chosen in the SYS_GID_MIN-SYS_GID_MAX range, defined in login.defs, instead of GID_MIN-GID_MAX.

May be replace long option (--system) with short one (-r)?

@muuki88
Copy link
Contributor

muuki88 commented Jul 28, 2015

Agreed. Can you make a pr?

@muuki88
Copy link
Contributor

muuki88 commented Jul 28, 2015

Duplicate with #621

@kardapoltsev
Copy link
Member Author

Yes, I'll make PR.

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

No branches or pull requests

2 participants