koskur.sh 234 B

123456789
  1. #!/bin/sh
  2. if [ -z "`getent group messagebus`" ]; then
  3. groupadd -fg 18 messagebus
  4. fi
  5. if [ -z "`getent passwd messagebus`" ]; then
  6. useradd -c "D-Bus Message Daemon User" -d /var/run/dbus -u 18 -g messagebus -s /bin/false messagebus
  7. fi