aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilad Arnold <garnold@google.com>2015-10-02 07:22:47 -0700
committerGilad Arnold <garnold@google.com>2015-10-02 08:42:58 -0700
commite690a81d99d4c1c88abf235b306ead73bbfaa012 (patch)
treefb68b7d0cf119b7ca6ac55979a1585792e10ef55
parent1632583d26b8e926d84afec05f0e0d9bdf9ab0ca (diff)
downloadtlsdate-e690a81d99d4c1c88abf235b306ead73bbfaa012.tar.gz
Use a dedicated UID/GID for unprivileged execution.
Bug: 23651876 Change-Id: Ie924bbe5cee74e3095876d6386a6ea21399b8d97
-rw-r--r--config.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/config.h b/config.h
index 5dcfad6..3347985 100644
--- a/config.h
+++ b/config.h
@@ -244,12 +244,11 @@
/* Vendor of Target System */
/* #undef TARGET_VENDOR */
-/* TODO(b/23651876) Reserve proper unprivileged uid/gid for the helper. */
/* Unprivileged group */
-#define UNPRIV_GROUP "nobody"
+#define UNPRIV_GROUP "tlsdate"
/* Unprivileged user */
-#define UNPRIV_USER "nobody"
+#define UNPRIV_USER "tlsdate"
/* if PolarSSL is enabled */
/* #undef USE_POLARSSL */