aboutsummaryrefslogtreecommitdiffstats
path: root/community/polkit/polkit-common.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/polkit/polkit-common.pre-install')
-rw-r--r--community/polkit/polkit-common.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/polkit/polkit-common.pre-install b/community/polkit/polkit-common.pre-install
new file mode 100644
index 0000000000..7c4e3eff88
--- /dev/null
+++ b/community/polkit/polkit-common.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S polkitd 2>/dev/null
+adduser -S -D -H -h /var/empty -s /sbin/nologin -G polkitd -g polkitd polkitd 2>/dev/null
+
+exit 0