Bug#31969: libc6: Libc6 doesn't support NIS netgroups in /etc/passwd
Package: libc6
Version: 2.0.7u-2
I have a machine on which I want only a small subset of my users to
have a valid shell...
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.
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?
------------------------------------------------------------------------
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# Information about this file is available in the `libc6-doc' package.
passwd: compat
group: compat
shadow: compat
hosts: files dns nis
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
------------------------------------------------------------------------
-- System Information
Debian Release: 2.0
Kernel Version: Linux bofh 2.0.35 #1 Tue Oct 13 08:22:43 CDT 1998 i686 unknown
Versions of the packages libc6 depends on:
ii ldso 1.9.9-1 The Linux dynamic linker, library and utilit
Reply to: