Also a bug is the following behaviour: I have userA, userB and userC, userA+B are in netgroup ,,netgroup- staff''
My /etc/passwd looks like this: <snippet> [...local accounts] -...@netgroup-staff:x::::: +:x::::: </snippet> When using the command ,,getent passwd'', the list looks like this (userA+B are excluded from the passwd list, because their netgroup is denied access to the system): <snippet> [...local accounts] userC:x:<uidN>:<gidN>:<GECOS>:/home/userC:/bin/bash </snippet> Till here everything looks fine... However, when I use ,,getent passwd userA'' I expect that nothing will be returned. But opposed to my expectation the following line is returned: <snippet> userA:x:<uidN>:<gidN>:<GECOS>:/home/userA:/bin/bash </snippet> To my understanding using nss_compat and a passwd config as shown above should hide users that are not members in ,,netgroup-staff'' completely from the system. Unfortunately, this is not the case... -- 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
