<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, May 7, 2015 at 12:30 PM, Martin Vogt <span dir="ltr"><<a href="mailto:mvogt1@gmail.com" target="_blank">mvogt1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I try to give any user rw permissions on /dev/nvidia*.<br><br></div>Usually this is done by adding the user to group "video", but<br></div><div>here the group is configured on NIS and I cannot change it.<br></div></div></div></div></div></div></div></div></div></blockquote><div><br></div><div>AFAIK, secondary groups are merged from all sources, so it is possible to have the same group in both NIS and /etc/group.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>So my idea was, to add every user to group "video" during<br></div>login. (Or change the permissions to 666 on /dev/nvidia*)<br></div></div></div></div></div></blockquote><div><br></div><div>That's possible using PAM, but see Simon's answer for a much better solution (using udev ACLs).</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>