blob: cfb5a2c7e4cab7a534100759057e4d78c4ce7101 (
plain)
1 #!/bin/sh
2
3 # check for pulseaudio group or add one
4 getent group pulse || /usr/sbin/groupadd -g 90 pulse
5 getent group pulse-access || /usr/sbin/groupadd -g 91 pulse-access
6
7 # check for pulseaudio user or add one
8 getent passwd pulse || /usr/sbin/useradd -g pulse -u 90 -d /var/run/pulse -s /bin/false -c "Pulseaudio User" pulse
9
10 # lock the account
11 /usr/bin/passwd -l pulse
|