• dandelion
    link
    fedilink
    2
    edit-2
    3 years ago

    Quite a few mistakes. You don’t use sudo when you are root, and some distros don’t use the sudo group but wheel.

    Which are the Linux distributions that use wheel ? I’ve seen sudo config files where sudo and wheel were group options, and you can also manually give a user sudo powers without using a group.

    • @[email protected]
      link
      fedilink
      23 years ago

      The options you mean are arbitrary. You can use any group name you want for sudo privilage, or just directly add the user(i use wheel group personaly). Also if you are interested you can look at doas which is like sudo but a simpler config file.

      • dandelion
        link
        fedilink
        2
        edit-2
        3 years ago

        wheel group looks BSD history style (wheel group is used on BSD to allow normal users to use the su (yes, su) command). On my Arch Linux based distribution I see both wheel and sudo groups mentioned when I use the visudo command, but only the wheel group exists, not the sudo group. That looks a little bit sloppy from Arch Linux maintainers one could argue, only copying a very broad manual page style sudo config file. Yes, OpenBSD doas has some people enthusiastic over the years, and it is ported for use in Linux. I’ve played with doas last year but for now I’ll stick with su and sudo. Yesterday I read about please as sudo alternative. https://aur.archlinux.org/packages/pleaser/