How are user permissions handled in Tumbleweed?

I come from the *buntu eco-system, so if I want to look at my group memberships (and their respective permissions), I use ‘id’. This lists all of the groups I am a member in.
If I do this on Tumbleweed, I just see:
uid=1000(me) gid=1000(me) groups=1000(me)

Am I not also a member of the sudo group?

How are permissions/group memberships handled in Tumbleweed? Which tools do I need to use to view/modify them?

Thanks, I’m just starting to learn this distribution

There isn’t a “sudo” group - users who have access to use sudo are in the /etc/sudoers file, which is edited using visudo.

I suppose it’s possible that *buntu defines a group specifically for using sudo, and that’s defined in the sudoers file (I haven’t looked at it, so I don’t know). You can certainly set it up that way if you want.

(There are other ways this can be handled within sudo’s framework - the sudoers file is the easiest one).

YaST->User and Group management

…if you want to use graphical tools.

Thanks for the help!

In *buntu-land there are separate groups/permissions for things like cdrom, printer, sambashare, and so forth. Are there such permission divisions in Tumbleweed? If so, how are they viewed and managed. I took a quick peek in Yast and didn’t see anything I recognized.

Yes, when you look in YaST groups, you should see several of those groups:

The ‘groups’ page in YaST’s user management has a filter that is set by default (at least on my system) to only show “local groups”, which for me is the groups jhenderson and users. If you change the filter to “system groups”, you’ll see the system-defined groups.

The use of groups isn’t a distro-centric thing. A distribution is made up of all kinds of software, and the use of a group for security access is generally defined in the software package itself. You should find that groups are used pretty much the same way in all Linux distributions (as well as in other *nix-like systems, like *BSD).

Thanks, Yast was the tool. I just didn’t explore it deep enough!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.