Suppiluliuma writes:
 > On Sun, 11 Jun 2000, Jan Dittberner wrote:
 > > Hello,
 > > 
 > > I have set the ownership/permission of the
 > > 
 > > /dev/video* devices to
 > > 
 > > crw-rw----   1 root      rvideo
 > > 
 > > to enable the group rvideo to access these
 > > devices.
 > > 
 > > After a reboot the devices are reset to
 > > 
 > > crw-------   1 root     root
 > > 
 > > How can I avoid this? Which script is responsible
 > > for this behaviour?
 > 
 > check in /etc/security/console.perms
 > 
 > There probably is a line like:
 > <v4l>=/dev/video* /dev/radio*
 > 
 > and somewhere below in the same file:
 > 
 > <console> 0600 <v4l> 0600 root
 > 
 > which means that when 'user' logs in at console, rights and
 > ownership for /dev/video* are set to:
 > crw------- user root
 > 
 > you can change this line to:
 > <console> 0600 <v4l> 0660 root.rvideo
 > 
 > but still any user can use /dev/video* (it only reverts permission to
 > 0660 root.rvideo after user logs out).
 > I think that the best solution would be to delete this line and manually
 > set permissions/ownership. This mechanism is provided to prevent
 > different users from using some devices simultaneously. Usually you have
 > only one person at the console so this is kind of excessive security.
 > 
 > Regards
 > 

I have a similar problem.  In my case, the first user after a reboot
gets permanent ownership of the device classes associated with
<console> in /etc/security/console.perms --- i.e. the devices in
<floppy>, <sound>, an so forth.  After the first user logs out and
the next user logs in, all of the devices defined in the device
classes remain owned by the first user.  

However, the owner of /dev/console, which is associated with
<xconsole> is reassigned properly.

Can anyone suggest why this is happening or how to get more useful
diagnostic information?

Thanks,
Shelby Brumelle <[EMAIL PROTECTED]>

Reply via email to