this post was submitted on 28 Jun 2024
278 points (77.7% liked)

Linux

48178 readers
1228 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] dev_null@lemmy.ml 3 points 4 months ago* (last edited 4 months ago) (1 children)

Yeah, I feel like Linux needs the equivalent of Administrator accounts on Windows. Root is the equivalent of the System account on Windows, something even power users might never encounter, because it's a level of power you shouldn't ever need.

We need users to have permission to install software and do other administrative tasks, without having permission to do very destructive actions like uninstalling core system packages. Aunt Flo should be able to install Mahjong from her distros package manager GUI, without needing dangerous root access.

[–] princessnorah@lemmy.blahaj.zone 3 points 4 months ago (1 children)

Well, no, not exactly. Most accounts on desktop linux distros are admin accounts. The way I would define that is whether or not the user has sudo permissions, either by being in the sudo group or sudoers file. Some distros do ask if you want the user to be admin. And that's pretty analagous to being admin on windows and getting a UAC prompt for an elevated process.

[–] dev_null@lemmy.ml 2 points 4 months ago (2 children)

Yeah, but there is no separation between being able to do day to day administrative actions like installing software, and being able to do destructive actions no one should need to do unless in exceptional circumstances.

[–] princessnorah@lemmy.blahaj.zone 3 points 4 months ago (1 children)

Right, that was the other point I meant to make. There absolutely is a way to seperate the powers that sudo grants. The sudoers file allows you to limit a user or groups permissions to only certain commands. Distros could and should absolutely take advantage of this.

[–] areyouevenreal@lemm.ee 1 points 4 months ago

Beat me to it lol

[–] areyouevenreal@lemm.ee 2 points 4 months ago

Sudo actually has very granular permissions, just almost no one and no distros use them. You might as well replace it with doas for most people.