NIS netgroup entries in /etc/passwd under glibc2/Debian 2.1
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
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?
Thanks for the help.
(Flames for using NIS will be sent to /dev/null, they are not relevant
to the discussion)
------------------------------------------------------------------------
# /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
------------------------------------------------------------------------
--
Richard W Kaszeta Graduate Student/Sysadmin
bofh@me.umn.edu University of MN, ME Dept
http://www.menet.umn.edu/~kaszeta
Reply to: