aboutsummaryrefslogtreecommitdiffstats
path: root/community/lightdm/lightdm.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/lightdm/lightdm.pre-install')
-rw-r--r--community/lightdm/lightdm.pre-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/lightdm/lightdm.pre-install b/community/lightdm/lightdm.pre-install
new file mode 100644
index 0000000000..ab2add4883
--- /dev/null
+++ b/community/lightdm/lightdm.pre-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+name=lightdm
+
+addgroup -S $name 2>/dev/null
+adduser -S -D -H -h /var/run/lightdm -s /bin/false -G $name -g $name $name 2>/dev/null
+
+exit 0