On 7/15/05 2:25 AM, Bryan J. Smith b.j.smith@ieee.org wrote:
From: Paul Heinlein heinlein@madboa.com
If you set up netgroups, you can specify login rights easily:
- /etc/passwd
[...] +@login-group +:::::/dev/null:/sbin/nologin
- /etc/nsswitch.conf
passwd: compat shadow: compat group: files nis netgroup: files nis
Now that only works for NIS distributed passwd, netgroups, correct? Or will it work for local users as well?
I think it'll only work for NIS passwd maps, but I think that the netgroups map can come from NIS *or* live in /etc/netgroup.