View previous topic :: View next topic |
Author |
Message |
Strom n00b
Joined: 01 Mar 2003 Posts: 36 Location: Estonia, Tallinn
|
Posted: Sat Mar 01, 2003 6:40 pm Post subject: Can't listen to music while not root |
|
|
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 |
|
|
David_Escott l33t
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sat Mar 01, 2003 6:41 pm Post subject: |
|
|
are you in the audio group? |
|
Back to top |
|
|
Strom n00b
Joined: 01 Mar 2003 Posts: 36 Location: Estonia, Tallinn
|
Posted: Sun Mar 02, 2003 11:49 am Post subject: |
|
|
guess not ... i'm a newbie ... could you tell me how to get in ? |
|
Back to top |
|
|
David_Escott l33t
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sun Mar 02, 2003 1:18 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|