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