# HG changeset patch # User David Demelier # Date 1636963766 -3600 # Node ID 52f9fab2a9b3f2f39d2c2c763dced261c6f0c28e # Parent 46e278d09c6b2d82f2e0a668a3cef108803fb319 misc: update uids diff -r 46e278d09c6b -r 52f9fab2a9b3 Docs/uids.md --- a/Docs/uids.md Mon Nov 15 09:08:29 2021 +0100 +++ b/Docs/uids.md Mon Nov 15 09:09:26 2021 +0100 @@ -1,16 +1,17 @@ -Vanilla Linux reserved UIDs and GIDs -==================================== +Reserved UIDs and GIDs +====================== Users and groups are created once needed at package installation. It's perfectly safe to reuse the same UID/GID for different packages (example www, mail). -You may think of UID/GID just like a simple package dependency. +Users and group that are private and only used by the software must be prepended +by an underscore. Only groups that users can join can start without one. The following UID/GID are defined: | uid | gid | package(s) | |---------------------|---------------------|----------------------| -| sshd (100) | sshd (100) | network/openssh | +| _sshd (100) | _sshd (100) | network/openssh | | polkitd (101) | polkitd (101) | security/polkit | | pulse (102) | pulse (102) | audio/pulseaudio | | | pulse-rt (103) | audio/pulseaudio |