-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use more than one group for saned #6
Comments
Solved using sg command inside action script. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to play the melody in action script via pc-speaker when scanning. For this I have configured udev rules to set right permittions on /dev/input/by-path/platform-pcspkr-event-spkr. (According to https://github.com/spkr-beep/beep/blob/master/PERMISSIONS.md)
In /etc/scanbd/scanbd.conf is user "saned" und group "scanner" (for debian) provided. Thus I added user "saned" to the new group "beep".
$groups saned - > "saned scanner beep"
If I do "sudo -u saned" beep works fine. But if action script is running, the user saned has only one group "scanner"
$groups saned - > "scanner"
How can I provide a second group to the "saned", that executes the action script?
The text was updated successfully, but these errors were encountered: