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

Re: Should programs that access /dev/* be SGID?



On Jan 14, Hwei Sheng TEOH <hsteoh@cs.toronto.edu> wrote:
 
 >Perhaps such programs should be SGID to whatever group that device is
 >assigned? For example, since /dev/cdrom is read-writable by group 'disk', a
 >program, say cdplay, can be SGID to 'disk' so that it can be executed by
 >normal users.
If you want everyone to use /dev/cdrom the just chmod 666 it.
I don't think this is a bug, most system administrators don't want every
user being able to access the hardware like that.

-- 
ciao,
Marco


Reply to: