[arch-general] systemd and local group membership

Curtis Shimamoto sugar.and.scruffy at gmail.com
Mon Oct 29 10:17:23 EDT 2012


On 10/29/12 at 12:46pm, Rodrigo Rivas wrote:
> On Mon, Oct 29, 2012 at 5:47 AM, Curtis Shimamoto <
> sugar.and.scruffy at gmail.com> wrote:
> 
> > I did run into one problem though.  I sometimes use mplayer from the
> > console.  To do this, I have set mplayer up to use fbdev2.  Previously
> > (when in all those groups), I was able to do this with no problem.  but
> > after making these changes, I suddenly had to be root to use mplayer in
> > framebuffer mode.
> >
> > I realized that this was because /dev/fb0 was not included in the
> > 70-uaccess.rules.  I am no expert in udev rules, but I have written a
> > few for various things.  This file was dead simple to understand, so I
> > copied it over to /etc/udev/rules.d and added:
> >
> > # framebuffer
> > SUBSYSTEM=="graphics", KERNEL=="fb0", TAG+="uaccess"
> 
> 
> 
> 
> I think it is better to add a file /etc/udev/rules.d/71-my-uaccess.rules
> with just the line you need to add, instead of copying the whole
> 70-uaccess.rules file. That way you still get the upgrades to the standard
> file. Note that the names of the files make no difference, other than the
> order of execution.
> 
> Regards
> --
> Rodrigo

Yes, this was mentioned to me in the forums as well.  It is a much
better idea.  Thanks for confirming that this is what I should be doing.

So far, I have not heard any mention of this being a bad idea, or a
security concern.  So I guess I will be sticking with it until I find
reason to do otherwise.

Thanks again for the input Rodrigo
-- 
Curtis Shimamoto
sugar.and.scruffy at gmail.com


More information about the arch-general mailing list