Re: cd and floppy disk use
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thus spake Chris Metzler:
# No. Instead of "disk", you meant to say group "cdrom." Assign users
# to group "cdrom" so that they can access the cdrom device.
#
# Group "disk" has write access to all the raw disk devices (/dev/hd* and
# /dev/sd*). Assigning users to group "disk" is both dangerous and a
# security risk.
Sorry. I may need to change my /dev/hdc group then.
ls -l /dev/cdrom
shows:
lrwxrwxrwx 1 root root 11 Mar 23 19:23 /dev/cdrom -> /dev/cdrom0
ls -l /dev/cdrom0
shows:
lrwxrwxrwx 1 root root 8 Mar 27 20:59 /dev/cdrom0 -> /dev/hdc
and
ls -l /dev/hdc
shows:
brw-rw---- 1 root disk 22, 0 Feb 3 07:28 /dev/hdc
This is where I got 'disk' for the group to put users into. But I see now that
/dev/hd* is group 'disk'. However, only my /dev/pktcdvd0 (udf packet writing to
CDRW) is group 'cdrom'. And group 'cdrom' doewn't mention 'disk' and 'disk'
doesn't mention 'cdrom'. Is this a problem? Do I need to change something?
This is how Debian set it up for me.
PRINCE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAlVG2Al2SNUPt1I8RAnplAJ4uINcGtCme7k1iWz2OM7wWwFvzpwCff1L1
UtKEBpf9+UiWNpHuqQxCSYY=
=Nff9
-----END PGP SIGNATURE-----
Reply to: