Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't listen to music while not root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Strom
n00b
n00b


Joined: 01 Mar 2003
Posts: 36
Location: Estonia, Tallinn

PostPosted: Sat Mar 01, 2003 6:40 pm    Post subject: Can't listen to music while not root Reply with quote

When i'm not root (normal user) i get an error message, that premission is denied ... for example in xmms i get: snd_mixer_attach: Premission denied

Quote:

Info:

gentoo 1.4 rc2
gentoo-sources 2.4.20-r1 (sound card - modules)
ALSA 0.9.0-rc6 (in rc7 my sound card driver is broken)
alsa-xmms-0.9.9b
Back to top
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Sat Mar 01, 2003 6:41 pm    Post subject: Reply with quote

are you in the audio group?
Back to top
View user's profile Send private message
Strom
n00b
n00b


Joined: 01 Mar 2003
Posts: 36
Location: Estonia, Tallinn

PostPosted: Sun Mar 02, 2003 11:49 am    Post subject: Reply with quote

guess not ... i'm a newbie ... could you tell me how to get in ?
Back to top
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Sun Mar 02, 2003 1:18 pm    Post subject: Reply with quote

For security reasons normal users are cut off from a lot of things (like su to root, use opengl, use audio, etc). It is all mentioned in the docs but in short you would need to use usermod command it will be

usermod -G Comma,seperated,list,of,groups,you,want,to,be,in you

a good trick is to try
usermod -G `groups | sed s/ /,/g`,newgroup username

this way you dont have to specify all the groups you are currently in (groups | sed s/ /,/g takes care of that)

to give you an idea of the groups I am in

escott wheel cron audio ftp video games cdrw portage

fairly self explanitory (the ftp is so I can modify the /home/ftp directory not so I can use ftp)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum