[systemd-devel] Add User to group "video"
grawity at gmail.com
Thu May 7 03:06:50 PDT 2015
On Thu, May 7, 2015 at 12:30 PM, Martin Vogt <mvogt1 at gmail.com> wrote:
> I try to give any user rw permissions on /dev/nvidia*.
> Usually this is done by adding the user to group "video", but
> here the group is configured on NIS and I cannot change it.
AFAIK, secondary groups are merged from all sources, so it is possible to
have the same group in both NIS and /etc/group.
> So my idea was, to add every user to group "video" during
> login. (Or change the permissions to 666 on /dev/nvidia*)
That's possible using PAM, but see Simon's answer for a much better
solution (using udev ACLs).
Mantas Mikulėnas <grawity at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the systemd-devel