On 11 Apr 2001 15:23:57 -0700, Eric Richardson wrote:

> 3. To add permissions to normal devices you may want to use as your
> normal login, use the following command which adds the user to each of
> the following groups.
> adduser <user> dialout
>  - repeat for -
> floppy
> tty
> cdrom
> disk
> audio
> video

to add users to group disk is a bad idea, IMHO:

[EMAIL PROTECTED]:/dev$ find . -group disk|wc -l
   3174
[EMAIL PROTECTED]:/dev$

some of these 3174 devices are:

[EMAIL PROTECTED]:/dev$ find . -group disk|grep hda
./hda1
./hda
./hda2
./hda3
./hda4
./hda5
[snip]
[EMAIL PROTECTED]:/dev$

I don't think you want all your users to be able to write the devices
directly. The permission problem with the audio CD is solvable in at
least two ways, I don't know what the "right" approach is:
I did 'chown root.audio /dev/hdc' which lets members of group audio play
CDs nicely (and those who play CDs are likely to be in audio anyway). An
other approach would be chmod o+r /dev/hdc

Regards, M.

-- 

I did not vote for the Austrian government

Reply via email to