Kernel modules

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Sep 15 17:13:16 UTC 2008


Andrea Mastellone wrote:
> Mikkel L. Ellertson wrote:
>> Do you want to limit access to the user logged into the console, or
>> do you want it accessible to all users? To limit it the console
>> user, take a look at console.perms. You will need to create a rule
>> for it in /etc/security/console.perms.d. To change the permissions
>> when it is created, you will have to add a udev rule to set permissions.
>>
> 
> Hi Mikkel,
> 
> thank you for reply. Since the cam is used by who has a graphical
> session in that moment, perhaps the most suitable option is to make the
> video device accessible to the console users. You say
> 
>> To change the permissions
>> when it is created, you will have to add a udev rule to set
>> permissions.
> 
> I will try to read some man page on that now...
> 
> Andrea
> 
You will probably want to put a file like this in
/etc/security/console.prems.d. 70-video.perms:

<video>=/dev/video*
<console> 0600 <video> 0600 root

You do not need to mess with udev rules that way, and whoever is
logged into the console gets "ownership of all the video devices.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20080915/a74a672b/attachment-0001.bin 


More information about the users mailing list