From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k1Xdb-0005q3-6B for ptxdist@pengutronix.de; Fri, 31 Jul 2020 18:12:03 +0200 Received: by mail-wr1-x436.google.com with SMTP id r2so23407775wrs.8 for ; Fri, 31 Jul 2020 09:12:03 -0700 (PDT) From: Bruno Thomsen Date: Fri, 31 Jul 2020 18:11:39 +0200 Message-Id: <20200731161141.6155-5-bruno.thomsen@gmail.com> In-Reply-To: <20200731161141.6155-1-bruno.thomsen@gmail.com> References: <20200731161141.6155-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v3 5/7] chrony: run chronyd as chrony user List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Bruno Thomsen , bth@kamstrup.com Running service as non-root limits system exposure and it's considered best practice when doing network communication. Signed-off-by: Bruno Thomsen --- Changes since version 2: - Always run chrony daemon as chrony user. No changes since version 1. rules/chrony.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/chrony.make b/rules/chrony.make index afdfe434a..51141059c 100644 --- a/rules/chrony.make +++ b/rules/chrony.make @@ -53,6 +53,7 @@ CHRONY_CONF_OPT := \ --disable-phc \ --disable-pps \ $(call ptx/ifdef, PTXCONF_GLOBAL_IPV6,,--disable-ipv6) \ + --with-user=chrony \ --without-seccomp # ---------------------------------------------------------------------------- -- 2.26.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de