1239
submitted 2 months ago* (last edited 2 months ago) by sag@lemm.ee to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] superkret@feddit.org 2 points 2 months ago

I know the distinction between /bin and /sbin, I just don't know what purpose it serves.

Historically, /bin contained binaries that were needed before /usr was mounted during the boot process (/usr was usually on a networked drive).
Nowadays that's obsolete, and most distros go ahead and merge the directories.

[-] linearchaos@lemmy.world 8 points 2 months ago

It's easier to manage security that way.

Instead of having one binary folder full of stuff that's intended to be run with privilege access and non-privilege access, all the privileged stuff goes in sbin and you don't even see it in your path as a regular user. It also means that access rights can be controlled at the folder level instead of the individual file level.

this post was submitted on 06 Sep 2024
1239 points (95.7% liked)

Linux

48056 readers
836 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