Hei hei, Am 2014-12-16 23:20, schrieb Robert Schwebel: > We re-use the uids from Debian.
Which are not fixed. See from the desktop I'm working on: % grep avahi /etc/passwd avahi:x:105:112:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false Same for messagebus btw: % grep messagebus /etc/passwd messagebus:x:101:105::/var/run/dbus:/bin/false Or systemd (on another machine): % grep systemd /etc/passwd systemd-timesync:x:107:112:systemd Time Synchronization,,,:/run/systemd:/bin/false systemd-network:x:108:113:systemd Network Management,,,:/run/systemd/netif:/bin/false systemd-resolve:x:109:114:systemd Resolver,,,:/run/systemd/resolve:/bin/false systemd-bus-proxy:x:110:115:systemd Bus Proxy,,,:/run/systemd:/bin/false AFAIK Debian uses the next free uid when a service is installed for the first time and creates its system users. See `man 8 adduser`. > sshd:x:100:65534:SSH Server:/var/run/sshd:/bin/false Three different UIDs on three different Debian machines: 100, 103, 114 … I would probably find even more. > messagebus:x:103:104:messagebus:/dev/null:/bin/false > +avahi:x:107:115:Avahi mDNS daemon:/var/run/avahi-daemon:/bin/false > systemd-network:x:202:202:systemd-network:/dev/null:/bin/false > systemd-resolve:x:203:65534:systemd-resolve:/dev/null:/bin/false > systemd-timesync:x:203:65534:systemd-timesync:/dev/null:/bin/false Long story short: there are no fixed UIDs in Debian, just something like classes. See "9.2.2 UID and GID classes" on https://www.debian.org/doc/debian-policy/ch-opersys.html for details. Of course its fine to choose any default uid/gid for ptxdist, but re-using them from Debian is misleading. ;-) HTH & Greets Alex -- »With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie) *** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 *** -- ptxdist mailing list [email protected]
