From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from opera.rednote.net ([74.53.93.34]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1IfXhi-0007uk-00 for ; Wed, 10 Oct 2007 05:18:11 -0400 Received: from opera.rednote.net (localhost.localdomain [127.0.0.1]) by opera.rednote.net (8.14.1/8.14.1) with ESMTP id l9A9I4v1002039 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 10 Oct 2007 09:18:09 GMT Received: (from frankiec@localhost) by opera.rednote.net (8.14.1/8.14.1/Submit) id l9A7R9No026619 for speakup@braille.uwo.ca; Wed, 10 Oct 2007 03:27:09 -0400 Date: Wed, 10 Oct 2007 03:27:09 -0400 From: Frank Carmickle To: "Speakup is a screen review system for Linux." Subject: Re: audio permissions quandary Message-ID: <20071010072709.GD17377@opera.rednote.net> References: <20071008045144.GA16559@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071008045144.GA16559@localhost.localdomain> User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: ClamAV 0.91.2/4520/Wed Oct 10 05:11:07 2007 on opera.rednote.net X-Virus-Status: Clean X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 Precedence: list Reply-To: frank@carmickle.com, "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2007 09:18:11 -0000 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