167
top 19 comments
sorted by: hot top controversial new old
[-] fortified_banana@beehaw.org 48 points 7 months ago* (last edited 7 months ago)

Looks like you're on Fedora Silverblue (or other Atomic version). This is happening because the system groups are in /usr/lib/group rather than /etc/group and this causes the issue you're seeing here. You can work around it by getting into a root shell with something like

sudo -i

and then getting the group added to /etc/group with

grep -E '^dialout' /usr/lib/group >> /etc/group

after that, you'll be able to add your user to the group with

usermod -aG dialout pipe

[-] pipe01@programming.dev 23 points 7 months ago

Right on the money, that's what I ended up doing. Thanks!

[-] Artyom@lemm.ee 9 points 7 months ago

Is that considered a feature for some reason? That seems objectively terrible.

[-] fortified_banana@beehaw.org 8 points 7 months ago

No, it's a side effect of how everything's handled by rpm-ostree currently, and it's on the list of issues to be fixed.

See Here for more info

[-] frezik@midwest.social 6 points 7 months ago* (last edited 7 months ago)

Why can't we keep system config things in /etc? It's a method that works in unsurprising ways.

[-] jkrtn@lemmy.ml 5 points 7 months ago

Is etc the mutable part? Would you have to do this again to add more users after a reboot?

[-] fortified_banana@beehaw.org 6 points 7 months ago

/etc is writable, so no reboots are required. That said, /etc is treated in a special way and each deployment will have its own /etc, based on the previous one.

So if you make changes to /etc then revert to a previous deployment, your changes will be reverted as well. But if you make changes and upgrade (or do whatever to create a new deployment), your changes will bu preserved.

[-] jkrtn@lemmy.ml 3 points 7 months ago

That's really helpful to understand the caveats, thank you.

[-] KindaABigDyl@programming.dev 4 points 7 months ago

It's like when I run into some issue with how I've set up my system in NixOS and have to explain to a non-Linux user that it isn't Linux that's the issue but how I'm using an especially weird Linux lol

[-] Kolanaki@yiffit.net 38 points 7 months ago

Enter Password: ********

The password you entered is incorrect. Would you like to reset your password?

Y

Please enter your new password: ********

New password cannot be the same as old password.

๐Ÿ˜‘

[-] dditty@lemm.ee 9 points 7 months ago
[-] Dark_Arc@social.packetloss.gg 4 points 7 months ago* (last edited 7 months ago)

Yeah this one is ridiculous. There are some systems that have bounced my password ... literally the one stored in a password manager ... and gaslite me that I "must have forgotten my password."

[-] drspod@lemmy.ml 36 points 7 months ago

If you want to add an existing user to an existing group, use:

usermod -a -G <group> <user>

[-] mojo_raisin@lemmy.world 2 points 7 months ago

I like gpasswd -a <user> <group>

[-] marcos@lemmy.world 30 points 7 months ago

I've had this one recently.

It gives you an error message, but creates the group anyway.

[-] haui_lemmy@lemmy.giftedmc.com 7 points 7 months ago

(some!) FOSS developers when you open an issue about it: works for me. Closed

(Disclaimer: I know not all foss devs are like this. Especially kde devs are awesome.)

[-] marcos@lemmy.world 1 points 7 months ago

Well, I didn't report it (I'm not sure even how to categorize it), so I really don't know how it would go.

TBH, I don't even know what project hosts useradd. Never looked that up.

[-] FizzyOrange@programming.dev 6 points 7 months ago

Even if "isn't that bad" were true, it's hardly a stunning endorsement. I wish Linux aimed higher than "not that bad", but it always seems to hit "only some bits are broken".

[-] lemmyreader@lemmy.ml 0 points 7 months ago
this post was submitted on 19 Apr 2024
167 points (97.7% liked)

Linux

5324 readers
269 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS