3 ms·
All of the system group names that own resources for specific applications have been underscore prefixed for years... like ... _bgpd:*:75: _tcpdump:*:76:
by Canada 3y ago
All of the system group names that own resources for specific applications have been underscore prefixed for years... like
...
_bgpd:*:75:
_tcpdump:*:76:
_dhcp:*:77:
_mopd:*:78:
_tftpd:*:79:
_rbootd:*:80:
_ppp:*:82:
_ntp:*:83:
_ftp:*:84:
_ospfd:*:85:
_hostapd:*:86:
...
but not the general ones like wheel, sys, daemon, tty, nobody, etc.
- 5e92cb50239222b 3y agoPrefix code blocks by two spaces. Now I wonder why my FreeBSD systems use underscores for some groups, but only a few of them. $ grep ^_ /etc/group _pflogd:*:64: _dhcp:*:65: _ypldap:*:160:
- Canada 3y agoYeah thanks, I edited that like 10 times dealing with escaping the asterisks with backslash, adding the two spaces, removing the escaping, newlines, etc :)
- notaplumber1 3y agoAll of those are examples of privilege seperated software imported from OpenBSD, pf and thus pflogd(8), dhclient(8) and yplapd(8). https://www.openbsd.org/innovations.html https://www.openbsd.org/innovations.html
- ninjin 3y agoIf I recall correctly, all system groups should have a leading underscore for OpenBSD. However, they make exceptions for groups that have been around long before this became their standard.