167
you are viewing a single comment's thread
view the rest of the comments
[-] 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

[-] 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.

load more comments (5 replies)
this post was submitted on 19 Apr 2024
167 points (97.7% liked)

Linux

5234 readers
137 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