Group membership, was Re: package searching & soundcard issues
Quoting Nicolas Bertolissio (nico.bertol@wanadoo.fr):
> > question 2:
> > on my debian installation, root seems to be the only user who can access
> > the soundcard (with xmms, etc.). if i'm not mistaken, the souncard is
> > /dev/dsp. on my machine this is:
> >
> > crw-rw---- 1 root audio 14, 3 Jul 5 2000 /dev/dsp
> >
> > i tried doing an `addgroup mark audio', but i still get `Permission
> > denied' when i try `cat /dev/dsp'. can anyone give me a hand? thanks.
>
> according to `man addgroup' :
> `addgroup mark audio' doesn't add user 'mark' in group 'audio'
> `adduser mark audio' does
Works for me.
> another solution :
> edit your /etc/group at the line 'audio:x:29:'
Usually this is because people switch to root, addgroup, and then
switch back and try again. Doesn't work.
You only acquire your groups when you login.
Cheers,
--
Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.
Reply to: