#!/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