324
submitted 8 months ago by starman@programming.dev to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Strit@lemmy.linuxuserspace.show 16 points 8 months ago

As long as it's not a mandatory switch, I can't see any issue with this.

[-] takeda@lemmy.world 29 points 8 months ago

In theory it isn't mandatory, in practice you will see a lot of distros replacing it.

[-] Strit@lemmy.linuxuserspace.show 14 points 8 months ago

You think? Hardly anyone uses the built-in network stack or the homed thing.

[-] independantiste@sh.itjust.works 0 points 8 months ago

Idk for the network stack, but for homed, I think it's because it is up to the DEs to support it. As part of the Sovereign tech fund, GNOME is implementing support for it! I think this will be a great step forward for Linux desktop security when it lands

[-] Dirk@lemmy.ml 14 points 8 months ago

It's the same drama as with the home directory replacement they announced and that no-one ever used.

[-] NekkoDroid@programming.dev 8 points 8 months ago* (last edited 8 months ago)

homed isn't exactly a home directory replacement, more of an extension. You can mix and match homed and normal home directories like you want (on a per-user basis at least, not within a single user). It does have some nice things, such as user-password based encryption of the home directory, so the password is required to unlock it (no admin access) or automatically using subvolumes on btrfs.

[-] taladar@sh.itjust.works 7 points 8 months ago

user-password based encryption of the home directory, so the password is required to unlock it (no admin access)

That seems like a very niche feature given that it is only relevant if the admin isn't the same person as the user but the admin would have to set it up and condemn themselves to hearing endless whining from users who lose their files when they forgot their password.

[-] atzanteol@sh.itjust.works 3 points 8 months ago

Let me introduce you to selinux.

[-] taladar@sh.itjust.works 2 points 8 months ago

In what way does selinux allow your users to lock themselves out of their own home directories in a way that the admin can not fix?

[-] atzanteol@sh.itjust.works 0 points 8 months ago

SElinux is a "global ACL." You can stop root from doing anything you like with it. Usually by accident and without realizing it's been done in my experience...

[-] taladar@sh.itjust.works 2 points 8 months ago

No, that is just not true. You can stop root from doing things without a reboot with SELinux but encrypting something with a password root does not know actually does stop them from doing it at all short of a brute force attack on the encryption.

[-] atzanteol@sh.itjust.works 0 points 8 months ago

That's true - you can often recover a bad ACL. I was thinking more of the "niche use case" where separating duties and restricting root are concerned.

[-] taladar@sh.itjust.works 1 points 8 months ago

Oh, I was specifically thinking that admins that have users either competent enough not to forget/lose their passwords or mature enough not to whine to the admin when that causes the loss of all their files are pretty niche.

[-] PseudoSpock@lemmy.dbzer0.com 1 points 8 months ago

no...nonono... AHHHHH! - Vegita DBZA

[-] NekkoDroid@programming.dev 1 points 8 months ago

I don't know, unless I personally allow the admin to have that kinda access to my files I wouldn't really want it. And for that case you can enroll recovery keys (which would need to be manually stored, but still) or a fido token or whatever other supported mechanism there is, its LUKS2 backed encryption after all. Then there is also the possibility to just not encrypt the home directory at all.

this post was submitted on 30 Apr 2024
324 points (95.8% liked)

Linux

48721 readers
971 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