All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking] [PATCH] tinyproxy: 'nobody' should belong to 'nogroup'
@ 2017-12-15  7:13 S. Lockwood-Childs
  0 siblings, 0 replies; only message in thread
From: S. Lockwood-Childs @ 2017-12-15  7:13 UTC (permalink / raw)
  To: openembedded-devel

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!

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
---
 meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb
index e8025c4..efc0acf 100644
--- a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb
+++ b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb
@@ -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}"
-- 
1.9.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-15  7:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-15  7:13 [meta-networking] [PATCH] tinyproxy: 'nobody' should belong to 'nogroup' S. Lockwood-Childs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.