nsswitch.conf: How does one use netgroups/over-ride passwd fields?

Dan Nelson dnelson at allantgroup.com
Mon Sep 27 10:06:44 PDT 2004


In the last episode (Sep 27), Tillman Hodgson said:
> I've been poking through the nsswitch.conf manpage in preparation for
> moving some machiens to 5.3 (from 4.10). This machines participate in
> an NIS domain which uses netgroups. It also over-rides passwd fields
> (like the shell field) in certain cases.
> 
> How does one do that with nsswitch.conf if I want to avoid compat mode?

I don't think you can.  netgroups (and +/- records and field
overriding) only make sense in compat mode.  passwd and group both
default to "compat", and passwd_compat and group_compat both default to
"nis", so you shouldn't have to make any changes to nsswitch.conf.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list