On Wed, 19.10.11 23:43, Kay Sievers (kay.sievers(a)vrfy.org) wrote:
>> Like mentioned earlier in this thread, just put the user
>> audio/video system group and forget about any permissions management.
> That works for me. I wonder if I could use ExecStartPre to run a shell
> script to make sure the user is in those groups and write to stderr if
That's a job for a %pre RPM script, not a service. Create the user and
put the user in the group when the package is installed.
This is how you create users in %pre:
Lennart Poettering - Red Hat, Inc.