[Bug 492479] Review Request: razertool - Tool for controlling Razer Copperhead mice

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

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=492479





--- Comment #3 from Christoph Wickert <fedora@xxxxxxxxxxxxxxxxxxxx>  2009-04-15 10:29:07 EDT ---
With pam:

/etc/security/console.apps/razertool:
. config-util
PROGRAM=/usr/sbin/razertool
SESSION=true

In order to install razertool to /usr/sbin instead of /usr/bin, configure with
%configure --bindir=%{_sbindir}

/etc/pam.d/razertool:
#%PAM-1.0
auth            include         config-util
account         include         config-util
session         include         config-util

If you choose the pam approach, don't forget to require usermode-gtk.

I would however prefer not to run this tool as root. Are these per-user or
global settings? Running as root is ok if it's golbal, but as downside a
weakness in the code could be exploited with root privileges.
On the other hand I don't like the idea of making _all_ the usb device files
writable. Does the program really need write access or is it just probing the
devices? Or is there a special device for the razer mice? If so, a file in
/etc/security/console.perms.d/ might suffice.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]