aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gdm/gdm.pre-install
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-07-02 00:31:41 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-07-02 00:32:26 +0000
commitb7fdc39c62eab176baf3cc4432d786ef80cb37ea (patch)
treed7d7f071758ebc21db7bba020a9984bfe5631767 /testing/gdm/gdm.pre-install
parent738f3de16046a71713a0e1b8eec1fce8d58f337a (diff)
downloadaports-b7fdc39c62eab176baf3cc4432d786ef80cb37ea.tar.bz2
aports-b7fdc39c62eab176baf3cc4432d786ef80cb37ea.tar.xz
testing/gdm: install stub PAM policy, init script, create gdm user for the user selection UI
Diffstat (limited to 'testing/gdm/gdm.pre-install')
-rw-r--r--testing/gdm/gdm.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/gdm/gdm.pre-install b/testing/gdm/gdm.pre-install
new file mode 100644
index 0000000000..4b8a0ab274
--- /dev/null
+++ b/testing/gdm/gdm.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S gdm 2>/dev/null
+adduser -S -D -H -h /dev/null -s /sbin/nologin -G gdm -g gdm gdm 2>/dev/null
+
+exit 0