From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2 1/4] rootfs: Add 'mosquitto' user and group
Date: Fri, 9 Aug 2019 14:25:55 +0200 [thread overview]
Message-ID: <20190809122558.19065-2-ada@thorsis.com> (raw)
In-Reply-To: <20190809122558.19065-1-ada@thorsis.com>
Allow the mosquitto broker to drop priviledges.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
projectroot/etc/group | 1 +
projectroot/etc/passwd | 1 +
2 files changed, 2 insertions(+)
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
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2019-08-09 12:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-09 12:25 [ptxdist] [PATCH v2 0/4] mosquitto: Version bump and systemd support Alexander Dahl
2019-08-09 12:25 ` Alexander Dahl [this message]
2019-08-09 12:25 ` [ptxdist] [PATCH v2 2/4] mosquitto: Install default config file Alexander Dahl
2019-08-09 12:25 ` [ptxdist] [PATCH v2 3/4] mosquitto: version bump 1.4.14 -> 1.6.4 Alexander Dahl
2019-08-09 12:25 ` [ptxdist] [PATCH v2 4/4] mosquitto: Add systemd service unit Alexander Dahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190809122558.19065-2-ada@thorsis.com \
--to=ada@thorsis.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox