this post was submitted on 19 Apr 2024
168 points (97.7% liked)

Linux

5284 readers
494 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 7 months ago (1 children)

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

[–] [email protected] 6 points 7 months ago (1 children)

/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.

[–] [email protected] 3 points 7 months ago

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