On Sat, Feb 10, 2001 at 03:55:40PM +0000, Mark Page wrote:
> Recently decided to change distro and go with Debian. Installation not
> without pain given the completely different basis to others.
>> Under my normal user login I cannot access any sound utilities. How do I
> change the permissions? The errors I get are something like 'you do not
> have access to the cdrom' which I clearly do as I can mount and umount.
> I cannot open any mixers, cdplayers, xmms etc...
Others have answered this, but I'll add a little aside...
The reason that you can mount and unmount the CD is probably because
/mnt/cdrom (or whatever they call it in Debian) has option "user"
specified in /etc/fstab. This tells mount (which is setuid root)
to allow non-root users to mount and unmount this device.
Access to sound devices, on the other hand, is controlled by regular
file access permissions (owner, group & protection mask) on /dev/audio,
/dev/sequencer and friends.
Does Debian have similar PAM modules to Red Hat? Red Hat's approach
is to load a PAM 'session' module called pam_console.so which checks
for a session starting on a local console and changes the ownership of
/dev/audio, etc to this user, thus giving the user physically in front
of the machine access to the sound card, joystick, cdrom, scanner,
zip driver and other local resources. See console.perms(5) for more
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!