audio permissions quandary

Frank Carmickle frank at carmickle.com
Wed Oct 10 03:27:09 EDT 2007


Hi Greg

After beeting on this for three hours I have a solution but I don't like it to much.  It's better then suid though.  Use sudo with a line like this in your sudoers file

greg ALL= (greg) NOPASSWD:/usr/bin/aplay

then drop in your .mailfilter file
`sudo -u greg aplay somefile`

Like I said I don't like it that much but it does work and it doesn't allow anyone else to use aplay who isn't you.  It also runs aplay as you.

HTH
--Frank




More information about the Speakup mailing list