News for hackers. Stuff that matters.
Re:Fedora 40 Plans To Unify /usr/bin and /usr/sbin by nuc1e0n on Sunday December 24, 2023 @05:06PM (#38757402)
Isn't the separation of programs into sbin to prevent users without system admin permissions having even read only access to certain programs? Is that not relevant now?
Re:Fedora 40 Plans To Unify /usr/bin and /usr/sbin by brirec on Sunday December 24, 2023 @05:20PM (#38757521)
I’ve never seen a distro that didn’t grant read permission to everyone for /sbin and /usr/sbin.

In any event, it doesn’t really make sense to me to deny read access for any executables, so long as you don’t also deny read access to Python or a C compiler.

Really, if permission mode bits are the only thing preventing damage from such tools your vulnerability is not within your path or mode bits.

Re:Fedora 40 Plans To Unify /usr/bin and /usr/sbin by halJordan on Sunday December 24, 2023 @05:12PM (#38757452)
Yep, it's not relevant. If you click through to the change proposal, you will see their reasoning.
Re:Fedora 40 Plans To Unify /usr/bin and /usr/sbin by nuc1e0n on Sunday December 24, 2023 @05:17PM (#38757501)
Meh. I'm not bothered whether they're merged or not then. All these folders are administered by rpm anyhow.
Re:Fedora 40 Plans To Unify /usr/bin and /usr/sbin by cycleslow on Sunday December 24, 2023 @06:46PM (#38758168)
Uhhhh, more than rpm exists. I fail to see a problem that is solved by merging them. I guess some fresh project manager with nothing to do believes they found some low-hanging fruit to get their name on something. ¯\_(ツ)_/¯ It's a waste of time to reinvent this wheel. It will probably make things worse. Many of these ideas come from folks who started with something other than a *nix and are trying to make things feel more like home rather than understand why things are the way they are.
Re:Fedora 40 Plans To Unify /usr/bin and /usr/sbin by Phrodo_00 on Sunday December 24, 2023 @05:33PM (#38757670)
Not really, that can still be done without permissions. You WOULD be able to stop them from knowing the files are there if you remove read permissions to others, but I haven't seen this done.

The main advantage I see of having them separate is that you can remove sbin from user's $PATH to avoid confusion.

Re:Fedora 40 Plans To Unify /usr/bin and /usr/sbin by stryan on Sunday December 24, 2023 @05:13PM (#38757469)
Outside of what the article itself says, even while I was managing large multi-user Linux installs that wasn't really a concern we had. At this point the benefits and concerns are minimal.
Re:Fedora 40 Plans To Unify /usr/bin and /usr/sbin by layer8 on Sunday December 24, 2023 @05:11PM (#38757448)
Read the linked change proposal.