1 2 3 4 5 6
#!/bin/sh name=kdm addgroup -S $name 2>/dev/null adduser -S -H -h /var/run/kdm -s /bin/false -D -G $name $name 2>/dev/null exit 0