blob: 9141b6853db0e71a267028b5f9229d40ec5f4202 (
plain)
1 #!/bin/sh
2
3 # check for avahi group or add one
4 getent group avahi || /usr/sbin/groupadd -g 84 avahi
5
6 # check for avahi user or add one
7 getent passwd avahi || /usr/sbin/useradd -g avahi -u 84 -d /var/empty -s /bin/false -c "Avahi User" avahi
8
9 # lock the account
10 /usr/bin/passwd -l avahi
|