I have an old .spec file which I want to support for SLES15-SP4. The code tries to add a user in supplement group (
-G) which is
wheel. This line of code is not working for SLES15-SP4 and the
useradd command results in error
group 'wheel' does not exist
My Questions are:
- Is there any documentation for SLES15-SP4 where it is mentioned that wheel group is removed?
- Can I add the user to
rootgroup instead? I found this in SLES docs:
By design, members of the group wheel can run all commands with sudo as root.