On Wed, 19.10.11 23:43, Kay Sievers (kay.sievers@xxxxxxxx) wrote: > >> Like mentioned earlier in this thread, just put the user into the > >> 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 > > not? > > 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: https://fedoraproject.org/wiki/Packaging:UsersAndGroups Lennart -- Lennart Poettering - Red Hat, Inc. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel