Expand man page for --group

Specifying --group without a value inhibits any change of gid. This
feature has existed since dnsmasq-2.43, released in 2008, but without
documentation, it has been lost to time, even though it's useful
in certain circumstances, mainly to do with containers.

Thanks to Leon Busch-George for his efforts to fix this.
This commit is contained in:
Simon Kelley committed 2026-08-09 21:07:21 +01:00
1 parent b50b55e227
commit 8d8ad76d89
1 file changed
+7 -1
+7 -1
View File
@@ -179,7 +179,13 @@ can be over-ridden with this switch.
.B \-g, --group=<groupname> .B \-g, --group=<groupname>
Specify the group which dnsmasq will run Specify the group which dnsmasq will run
as. The default is "dip", if available, to facilitate access to as. The default is "dip", if available, to facilitate access to
/etc/ppp/resolv.conf which is not normally world readable. /etc/ppp/resolv.conf which is not normally world readable. If "dip" is not available, the default becomes
the main group associated with the uid specified by
.B --user
, or "nobody".
Specifying
.B --group
without an argument inhibits any change to the gid of the process, even to the defaults.
.TP .TP
.B \-v, --version .B \-v, --version
Print the version number. Print the version number.