Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 09-25-2004, 06:31 PM   #1
Registered: Aug 2004
Location: pittsburgh, pa
Distribution: gentoo
Posts: 81

Rep: Reputation: 15
No access to cdrom or audio with regular users

if i log in as root, i can play cds, and listen to music perfectly fine . but when i log in with my account, i get drive error and it doesn't work.

this is what i was instructed to do, but it didn't work

useradd -c "john" -m -g users -G cdrom,audio -s /bin/bash john
viewing /etc/groups shows my name next to cdrom and audio, so why aren't they working?
Old 09-25-2004, 07:37 PM   #2
Senior Member
Registered: Jul 2003
Posts: 1,017

Rep: Reputation: 52
#adduser john audio

as long you are there, add 'john' to these other ones, one at a time:

Old 09-25-2004, 07:41 PM   #3
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
look into your /dev directory and be sure dsp or what your sound device is called is actually group audio and also read/writeable to that group. same is for cdrom (maybe sg, if you're using ide-scsi).

sl mritch.
Old 09-25-2004, 07:45 PM   #4
Registered: Aug 2004
Location: pittsburgh, pa
Distribution: gentoo
Posts: 81

Original Poster
Rep: Reputation: 15
thanks guys

i just got it working

cd /dev/cdrom
chgrp cdrom (whatever it was pointing to i forget)

usermod -G cdrom,audio,floppy,video john

that did the trick

thanks again :beer:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to sort regular users and system users from /etc/passwd joeyBig Red Hat 9 05-29-2008 01:59 AM
How do I make it so regular users can access an automounted floppy? mugwump84 Linux - Newbie 4 04-03-2005 12:43 AM
regular users using halt TimmyP Debian 4 11-08-2004 04:06 AM
Giving regular users access to certain root-only commands slickrcbd Linux - Newbie 4 12-24-2003 08:27 AM
allowing regular users to shut down abyss Linux - General 1 08-30-2002 01:39 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration