2 groupadd -g 135 kdm &>/dev/null
3 useradd -u 135 -g kdm -d /var/lib/kdm -s /bin/false -r -M kdm &>/dev/null
4 chown -R 135:135 var/lib/kdm &>/dev/null
5 xdg-icon-resource forceupdate --theme hicolor &>/dev/null
6 update-desktop-database -q
10 getent group kdm >/dev/null 2>&1 || groupadd -g 135 kdm &>/dev/null
11 getent passwd kdm >/dev/null 2>&1 || useradd -u 135 -g kdm -d /var/lib/kdm -s /bin/false -r -M kdm &>/dev/null
12 chown -R 135:135 var/lib/kdm &>/dev/null
13 xdg-icon-resource forceupdate --theme hicolor &> /dev/null
14 update-desktop-database -q
18 if getent passwd kdm >/dev/null 2>&1; then
21 if getent group kdm >/dev/null 2>&1; then
24 xdg-icon-resource forceupdate --theme hicolor &> /dev/null