Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to add users who authenticate via NIS to the video group in order to use the nvidia driver's ability to direct render for VMware Player. I have added
auth optional pam_group.so
to /etc/pam.d/login and /etc/pam.d/xdm, and I have added
*;*;*;Al000-2400;video
to /etc/security/group.conf
Everything I can find indicates that this should work, but when I log in as an NIS user, I am still get an access denied for the nvidia device. (the device is owned by root and the group video, others have no rights.)
yes - that was a transcription typo on my end - the syntax is correct on the real system.
id does not show the video group - only the groups set by NIS. Could the problem be in my nswitch.conf file? group is set to file,nis
I added
auth optional pam_group.so
to /etc/pam.d/xdm again and after logging out/back in, I was able to see that video group is part of the user id. Not sure why it is now working...
Last edited by LarryResch; 07-16-2012 at 10:19 AM.
For passwd, group and shadow often compat is used as setting. Maybe it will help here too. On a local machine it’s sufficient to add pam_group.so to xdm (but I set it to required), I can’t say for NIS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.