From 7e219ae1c6b9ca5bc0f015c2b48be6d3694b4f67 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 29 Aug 2009 13:56:26 +0200 Subject: Ajout de gdm#2.20.10-1 --- extra/gdm/pre-install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 extra/gdm/pre-install (limited to 'extra/gdm/pre-install') diff --git a/extra/gdm/pre-install b/extra/gdm/pre-install new file mode 100755 index 000000000..ad04647a3 --- /dev/null +++ b/extra/gdm/pre-install @@ -0,0 +1,15 @@ +#!/bin/sh + +if [ -z "`grep '^gdm:' /etc/group`" ] +then + /usr/sbin/groupadd -g 42 gdm +fi + +if [ -z "`grep '^gdm:' /etc/passwd`" ] +then + /usr/sbin/useradd -u 42 -g gdm -d /var/gdm -s /bin/false gdm + /bin/passwd -l gdm +fi + +# End of file + -- cgit v1.2.3-70-g09d2