11 lines
288 B
Plaintext
11 lines
288 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
# check for avahi group or add one
|
||
|
getent group avahi || /usr/sbin/groupadd -g 84 avahi
|
||
|
|
||
|
# check for avahi user or add one
|
||
|
getent passwd avahi || /usr/sbin/useradd -g avahi -u 84 -d /var/empty -s /bin/false -c "Avahi User" avahi
|
||
|
|
||
|
# lock the account
|
||
|
/usr/bin/passwd -l avahi
|