mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-02 10:03:01 +02:00
Run dnsmasq as the dnsmasq user
There is a task that checks whether the dnsmasq user exists. However, dnsmasq is configured to run as user "nobody" instead. This change lets dnsmasq run as user "dnsmasq".
This commit is contained in:
parent
e6281bc7df
commit
dce552f42c
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
- name: Dnsmasq installed
|
||||
package: name=dnsmasq
|
||||
|
||||
- name: Ensure that the dnsmasq user exist
|
||||
- name: Ensure that the dnsmasq user exists
|
||||
user: name=dnsmasq groups=nogroup append=yes state=present
|
||||
|
||||
- name: The dnsmasq directory created
|
||||
|
|
|
@ -103,7 +103,7 @@ server={{ host }}
|
|||
|
||||
# If you want dnsmasq to change uid and gid to something other
|
||||
# than the default, edit the following lines.
|
||||
user=nobody
|
||||
user=dnsmasq
|
||||
group=nogroup
|
||||
|
||||
# If you want dnsmasq to listen for DHCP and DNS requests only on
|
||||
|
|
Loading…
Add table
Reference in a new issue