1

Should a wheel user that was created to disable root login and secure SSH have the same ownership as root from a security point of view?

2

No.

Modern Unix systems use user groups to control access privileges. The wheel group is a special user group used on some Unix systems to control access to the su command, which allows a user to masquerade as another user (usually the super user).

3
  • Uhm… on Berkeley Unix, wheel is just gid 0, but there’s no corresponding uid (well there is, it’s just root). This answer is wrong, but the question itself is… I’d say bad. I don’t get what he wants to ask.
    – mirabilos
    Dec 5 '21 at 21:35
  • @mirabilos I think the OP is asking about Linux. AFAIK most Linux distros have a root group with GID 0, and a separate wheel (or sometimes sudo) group that controls access to sudo.
    – anonymoose
    Dec 5 '21 at 23:10
  • Ah, I know of that as sudo group (on BSD, the wheel group indeed does both su and sudo). Thanks for clearing up.
    – mirabilos
    Dec 6 '21 at 4:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.