You are not logged in.

#1 2025-03-02 21:23:04

Efka
Member
From: Klaipeda
Registered: 2014-04-27
Posts: 108
Website

wheel vs sudo

Hi, is there something like  "explain me like im 5 years old"  WHEEL vs SUDO groups.
Im setting up user inside VPS running Arch for web server not a personal PC.
Thank You.


IBM Lenovo ThinkPad T61 ; Lenovo ThinkPad X220; Lenovo ThinkPad T440p; Lenovo Thinkpad W520; Lenovo Thinkpad P71; ThinkPad X1 Yoga Gen1;  FrankenPad T25
Asus Z10PE D-16 WS; 2x Intel Xeon E-5 2690V4; 32GB ECC; nVidia Titan V CEO | Asus ROG Gene XI Intel i7-9700k nVidia 3070Ti

Offline

#2 2025-03-02 21:37:11

astralc
Member
Registered: 2022-09-17
Posts: 98

Re: wheel vs sudo

it is a name of a group.
what you do with the group depend on the program. in arch some things (like polkit) are shipped with "wheel" as the admin group.
https://wiki.archlinux.org/title/Users_ … ser_groups

for visudo, there is no group by default.

I don't think there is something use 'sudo' group by default.

Offline

#3 2025-03-03 08:25:32

seth
Member
Registered: 2012-09-03
Posts: 61,711

Re: wheel vs sudo

Im setting up user inside VPS running Arch for web server

5 year olds should seriously not admin some WAN facing server.
And if you have to ask questions at that level and cannot even be bothered to google or rtfm the topic, *YOU* most certainly should absolutely not be running a WAN facing server either.

Offline

#4 2025-03-03 10:26:03

cryptearth
Member
Registered: 2024-02-03
Posts: 1,340

Re: wheel vs sudo

well - most simple: both are a designator - a name for a group
wheel is commonly used for stuff like sudo
sudo is not used
but I agree with seth: not so much lack of knowledge but rather unwillingness to do your own research about important security stuff - which hints you seem not up to the task being an admin for a public accessible server and it's likely your system ends up insecure
according to your history you openend several topics in that direction with somewhat pointless question - not meant offensive but you should take some courses and use managed services instead

Offline

#5 2025-03-04 12:54:04

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,419

Re: wheel vs sudo

sudo is not a user group but a command, check its man page .

If you want to experiment with a webserver only make it accessible from your local network.

Edited to reduce confusion after trilby posted.

Last edited by Lone_Wolf (2025-03-04 13:07:36)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2025-03-04 13:02:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,341
Website

Re: wheel vs sudo

Lone_Wolf wrote:

sudo is not a user group but a command

No need for semantic pedantism, especially when wrong: "sudo" is a group name on some common distros.  But "wheel" is the name used as a de-facto standard for this purpose on arch linux; though one can call their own group really whatever in the world they'd like to.  You could use "makemeasandwich" as the relevant group name if you want.

While we're at it 'sudo' is not just a group and a command, but also a package name.  That doesn't change the fact that the OP is clearly asking about group names.

What matters is that whatever group name you use in your sudoers configuration file is also used as a group name for the relevant user accounts that you want to be able to use sudo.  Again, you could call this group name "wheel", "sudo", "hamster", "reallyfuckingdoit", or whatever you like.

To avoid confusing those who don't seem to realize this, though, you may want to stick with using "wheel" on an arch linux system, that way *they* will not have to resort to actually reading the man page themselves to offer support: because they probably wont - they'll just tell you that you should.

Last edited by Trilby (2025-03-04 13:03:26)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2025-03-04 14:48:45

seth
Member
Registered: 2012-09-03
Posts: 61,711

Re: wheel vs sudo

The gist is that there's no difference at all - if we're indeed talking about group names (which are traditionally not all-caps).

Group names are completely meaningless without specific context (wheel is a default group in the polkit realm, but not for sudo, despite the default sudoers mentioning it because on average users will use both systems and be interested in aligning them), which is why there's also no direct manpage covering the OPs question and why the question makes little to no sense.
Which is why one must assume that the OP lacks fundamental understanding of POSIX access rights and that is why them running a WAN facing server is a horrible idea.

That condition doesn't have to last, though, but you're not getting there with a pre-schooler mindset.
That can only make you president in some countries tongue

Offline

#8 2025-03-04 15:40:40

cryptearth
Member
Registered: 2024-02-03
Posts: 1,340

Re: wheel vs sudo

seth wrote:

Which is why one must assume that the OP lacks fundamental understanding of POSIX access rights and that is why them running a WAN facing server is a horrible idea.

That condition doesn't have to last, though, but you're not getting there with a pre-schooler mindset.
That can only make you president in some countries tongue

FULL ACK
and also: made my day lol

Offline

#9 2025-03-04 15:52:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,341
Website

Re: wheel vs sudo

I don't think "share your toys" and "play nice with others" are the mindsets that led to the fall of democracy in my country.  Quite the opposite, really.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB