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
root
group instead? I found this in SLES docs:
By design, members of the group wheel can run all commands with sudo as root.
wheel
have any privileges other than being insudoers
? If that's all you want, add your user do /etc/sudoers likeyourusername ALL=(ALL)
, done.wheel
group in /etc/sudoers not working for me. I logged out from machine and logged in again but still no effect. Any suggestions?