LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-25-2004, 05:31 PM   #1
jwn7
Member
 
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

Code:
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, 06:37 PM   #2
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
#adduser john audio

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

sudo
dip
users
cdrom
 
Old 09-25-2004, 06:41 PM   #3
mritch
Member
 
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, 06:45 PM   #4
jwn7
Member
 
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:
 
  


Reply



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 12:59 AM
How do I make it so regular users can access an automounted floppy? mugwump84 Linux - Newbie 4 04-02-2005 11:43 PM
regular users using halt TimmyP Debian 4 11-08-2004 03:06 AM
Giving regular users access to certain root-only commands slickrcbd Linux - Newbie 4 12-24-2003 07:27 AM
allowing regular users to shut down abyss Linux - General 1 08-30-2002 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

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