Bug#31969: libc6: Libc6 doesn't support NIS netgroups in /etc/passwd
In article <cistron.199901160448.WAA07777@bofh.me.umn.edu>,
Richard Kaszeta <kaszeta@me.umn.edu> wrote:
>Package: libc6
>Version: 2.0.7u-2
>
>Under debian 1.3, I made an NIS netgroup called 'admin' with these
>users in it, and put the following entries in /etc/passwd
>
>+@admin::0:0:::
>+::0:0:::/bin/false
>
>So that users in the admin netgroup can log into the machine, while
>other users can't (but still have a visible home directory).
>
>This doesn't seem to work under debian 2.1... the +@admin entry
>doesn't seem to do anything.
Well, it works for me on all machines here. Strange.
>Since I use nis, my /etc/nsswitch.conf is as below. From the glibc
>documentation I can't seem to figure out how to get netgroups
>working...
>
>Is there a solution to this problem, or is this yet another case where
>linux doesn't seem to implement NIS netgroups?
I swear it works for me! But that doesn't help you :|
>passwd: compat
>group: compat
>shadow: compat
Yep I have that
>hosts: files dns nis
You do NOT want nis in there. Really. Just files dns is enough.
>networks: files
>protocols: db files
>services: db files
>ethers: db files
>rpc: db files
>
>netgroup: nis
Hmm I have netgroup: nis db files
Perhaps that is the difference ?
Mike.
--
Indifference will certainly be the downfall of mankind, but who cares?
Reply to: