mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: PTXdist Mailing List <ptxdist@pengutronix.de>
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH v1 07/11] rootfs: add tpm user and group
Date: Tue, 28 May 2019 13:57:52 +0200	[thread overview]
Message-ID: <20190528115756.2279-7-rhi@pengutronix.de> (raw)
In-Reply-To: <20190528115756.2279-1-rhi@pengutronix.de>

Allow the TPM services to run as an unprivileged user.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 projectroot/etc/group  | 1 +
 projectroot/etc/passwd | 1 +
 2 files changed, 2 insertions(+)

diff --git a/projectroot/etc/group b/projectroot/etc/group
index ca3fe0d89d05..96f7578d3e40 100644
--- a/projectroot/etc/group
+++ b/projectroot/etc/group
@@ -4,6 +4,7 @@ adm:x:4:
 kvm:x:36:
 shadow:x:42:
 utmp:x:43:
+tss:x:98:
 users:x:100:
 ftp:x:101:
 www:x:102:
diff --git a/projectroot/etc/passwd b/projectroot/etc/passwd
index f559f3c6a34d..9b35a54de297 100644
--- a/projectroot/etc/passwd
+++ b/projectroot/etc/passwd
@@ -2,6 +2,7 @@ root:x:0:0:root:/root:/bin/sh
 daemon:x:1:1:daemon:/usr/sbin:/bin/sh
 ftp:x:11:101:ftp user:/home:/bin/false
 www:x:12:102:www user:/home:/bin/false
+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
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2019-05-28 11:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-28 11:57 [ptxdist] [PATCH v1 01/11] rsync: add "rsync over ssh" feature Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 02/11] yajl: improve kconfig help text Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 03/11] minicoredumper: enable and configure minicoredumper Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 04/11] paho-mqtt-c: new package Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 05/11] paho-mqtt-cpp: " Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 06/11] host-autotools-autoconf-archive: " Roland Hieber
2019-05-28 11:57 ` Roland Hieber [this message]
2019-05-28 11:57 ` [ptxdist] [PATCH v1 08/11] tpm: add new menu Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 09/11] tpm2-tss: new package Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 10/11] tpm2-abrmd: " Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 11/11] tpm2-tools: " Roland Hieber

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=20190528115756.2279-7-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --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