In SUSE the command groupmod -A "username" wheel
will add any user, even if they don't exist, to the wheel group.
In Redhat the -A
argument does not exist. and other tools such as groupmems
will not add the user if they don't already exist.
How can I add a non-existant user to the wheel group with Redhat CLI native tools?
- im using quest tools and this is a domain user so the user is not locally configured.
- i know that there are other ways for getting the permissions configured but i want to do this by adding it to the wheel.