From owner-freebsd-questions Mon Jan 27 9:50: 7 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4042F37B405 for ; Mon, 27 Jan 2003 09:50:06 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 6BBE843F81 for ; Mon, 27 Jan 2003 09:50:05 -0800 (PST) (envelope-from mwm-dated-1044121805.75fa89@mired.org) Received: (qmail 21165 invoked from network); 27 Jan 2003 17:50:05 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 27 Jan 2003 17:50:05 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15925.29004.336017.600454@guru.mired.org> Date: Mon, 27 Jan 2003 11:50:04 -0600 To: Anand Buddhdev Cc: questions@freebsd.org Subject: Re: playing CDs as non-root user In-Reply-To: <20030127030941.GU9710@anand.org> References: <20030127030941.GU9710@anand.org> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.68 (Shut Out) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <20030127030941.GU9710@anand.org>, Anand Buddhdev typed: > I've got my FreeBSD system setup with KDE and sound. I have 2 questions: > 1. I got sound to work simply by doing "kldload snd" but then I did > kldstat and saw that all available sound modules had been loaded. I > thought that was unnecessary - is there any way (besides inserting > each module one at a time) that I can determine which exact module is > providing the driver for my sound card? Try "cat /dev/sndstat". That should tell you which driver you have. > 2. I can play a music CD just fine as root, using cdcontrol, as described > in the handbook. But under KDE, running as a non-root user, I cannot > play music CDs. I looked at the permissions on /dev/acd0c, and they are > 0640, root.operator, so an ordinary user cannot read the CD. I changed > the permissions to 0644, and I could play the CD. However, there must > be a good reason for the permisisons to be 0640, and I don't want to > mess up the permissions just to get the CD player to work. What is the > "official" way to get this to work? The handbook didn't mention it. There's no "official" way, because the best solution depends on the exact requirements. If you want to let everyone indiscriminatly use the CD player, you've found it. If you only want to let users who are logged onto the console use it, you use fbtab. If you only want to let a specific set of users use it, you put those users in group operator. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message