[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sound/CD player question



On Sun, Aug 22, 2004 at 07:47:26PM -0400, mike wrote:
> I got it to work. The non-privileged user had to be added to the disk 
> group. Thanks for your help.

(Probably) Bad idea.

$ ls -l /dev/hda
brw-rw----    1 root     disk       3,   0 Mar 14  2002 /dev/hda

Your unprivledged user can now extract sensitive info from the drive
(even root.root 600 stuff like /etc/shadow), and change anything (like
say, your password).  You can keep this if you trust yourself to never
make a typo...

I'd suggest adding the user to group CDROM, and (assuming /dev/hdc is
your CD):

chgrp cdrom /dev/hdc



Reply to: