diff options
author | Alexander Dahl <ada@thorsis.com> | 2019-08-09 14:25:55 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-08-13 09:34:37 +0200 |
commit | 46311759c0bdddde3d07e21e935b298f929b4d9b (patch) | |
tree | 41f50b5b5613787e083db860f714ff226fa47295 | |
parent | a16d497389feb9d95e05f7882bdcbe460a8e5d3a (diff) | |
download | ptxdist-46311759c0bdddde3d07e21e935b298f929b4d9b.tar.gz ptxdist-46311759c0bdddde3d07e21e935b298f929b4d9b.tar.xz |
rootfs: Add 'mosquitto' user and group
Allow the mosquitto broker to drop priviledges.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | projectroot/etc/group | 1 | ||||
-rw-r--r-- | projectroot/etc/passwd | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/projectroot/etc/group b/projectroot/etc/group index 96f7578d3..3e4a4be39 100644 --- a/projectroot/etc/group +++ b/projectroot/etc/group @@ -22,6 +22,7 @@ lock:x:114: audio:x:115: input:x:116: mysql:x:117: +mosquitto:x:118: systemd-journal:x:201: systemd-network:x:202: systemd-journal-gateway:x:206: diff --git a/projectroot/etc/passwd b/projectroot/etc/passwd index 9b35a54de..d15650b38 100644 --- a/projectroot/etc/passwd +++ b/projectroot/etc/passwd @@ -6,6 +6,7 @@ tss:x:98:98:TSS Daemon User:/dev/null:/bin/false sshd:x:100:65534:SSH Server:/var/run/sshd:/bin/false mysql:x:101:117:mySQL Server:/var/run/mysql:/bin/false messagebus:x:103:104:messagebus:/dev/null:/bin/false +mosquitto:x:104:118:Mosquitto broker user:/dev/null:/bin/false systemd-network:x:202:202:systemd-network:/dev/null:/bin/false systemd-resolve:x:203:65534:systemd-resolve:/dev/null:/bin/false systemd-timesync:x:204:65534:systemd-timesync:/dev/null:/bin/false |