This problem co-exists when using netgroups and pam_access.so...

I have two netgroups (netgroup-staff, netgroup-students), only
,,netgroup-staff'' shall get access to my system...

When tweaking /etc/security/access.conf this _does not_ work, but it
should:

  <snippet>
  + : root locadm : ALL
  + : @netgroup-staff : ALL

  # All other users should be denied to get access from all sources.
  - : ALL : ALL
  </snippet>

However, similar to the issues above, putting the following lines into
/etc/security/access.conf _does_ work:

  <snippet>
  + : root locadm : ALL
  - : @netgroup-students : ALL

  # All other users can access the system from any source
  + : ALL : ALL
  </snippet>

-- 
getpwent cannot enumerate users from netgroups with libnss_compat
https://bugs.launchpad.net/bugs/378874
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to