Skip to contentSkip to conversation

tinyproxy: 'nobody' should belong to 'nogroup'

PATCH New S. Lockwood-Childs 1 participant 1 message Dec 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tinyproxy: 'nobody' should belong to 'nogroup'

The classic 'nobody' user is supposed to belong to 'nogroup' group. Without this change, it will get a 'nobody' group created as its default group instead.

Ensuring the existing 'nogroup' is used as default group solves following sort of complaint by useradd-staticids.bbclass (when static ids are enabled):

tinyproxy: Changing groupname nobody's gid from (65534) to (1000),
verify configuration files!

---
 meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb +1 -1
index e8025c4..efc0acf 100644
@@ -23,7 +23,7 @@ inherit autotools systemd useradd
 
 #User specific
 USERADD_PACKAGES = "${PN}"
-USERADD_PARAM_${PN} = "nobody"
+USERADD_PARAM_${PN} = "nobody -g nogroup"
 GROUPADD_PARAM_${PN} = "--system tinyproxy"
 
 SYSTEMD_PACKAGES += "${BPN}"
Signature · 1 line
1.9.4