From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from uq.net.au(fox.uq.net.au[203.101.255.1]) (2384 bytes) by braille.uwo.ca via smail with P:esmtp/D:aliases/T:pipe (sender: ) id for ; Thu, 10 May 2001 07:36:02 -0400 (EDT) (Smail-3.2.0.102 1998-Aug-2 #2 built 1999-Sep-5) Received: from data.home (mail@dyn-21-213.dialin.uq.net.au [203.100.21.213]) by uq.net.au (8.9.3/8.9.3) with ESMTP id VAA28709 for ; Thu, 10 May 2001 21:35:59 +1000 (GMT+1000) Received: from geoff by data.home with local-esmtp (Exim 3.12 #1 (Debian)) id 14xlaP-0005LX-00; Thu, 10 May 2001 18:14:13 +1000 Date: Thu, 10 May 2001 18:14:13 +1000 (EST) From: Geoff Shang To: Subject: Re: ok guys here's a stipid question.. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-Id: On Tue, 8 May 2001, Shaun Oliver wrote: > ok guys got it all sorted out now. I uncommented the line in > /etc/rc.d/rc.modules to support the sblive > now, how do I give the user shauno audio permissions? OK, do: ls -l /dev/dsp0 /dev/dsp should be a link to /dev/dsp0. Look to see what group has access to it. If it's root, use chgrp to make it something else, like audio. Probably a good idea to look in /etc/group to see if audio exists. On my system, /dev/dsp0 was owned by group audio by default. Now, you want to make sure you have read/write access for root and audio, but no-one else. So you'd do something like this: chmod 660 /dev/dsp0 or chmod ug=rw,o= /dev/dsp0 This should give /dev/dsp0 permissions that look like crw-rw---- Now, all you need to do is put yourself in the audio group. Edit /etc/group and find the line that starts with audio. It will look something like this: audio:x:29: Put a comma-seperated list of users that you want to appear in this group after the final colon, without spaces (this is very important or it won't work). So you'd put: audio:x:29:shauno You can verify that this has worked by issuing the groups command as that user. If you wanted more users there, you';d put a comma directly after shauno and put the next name, no spaces. e.g. audio:x:29:shauno,geoff Using these steps, root plus anyone in the group audio will be able to read (i.e. record from) and write to (i.e. play) audio. You'll probably want to do the same with /dev/audio0 as well. Hope this makes some sense. Geoff.