Re: FreeBSD question.

Keith <[email protected]> Mon, 30 Jan 2012 12:43:40 -0800 (PST)
Newsgroups gmane.org.operators.internet-access
Message-ID <[email protected]>
On Mon, 30 Jan 2012, Craig Thompson wrote:

|->So, for the record, what really did you do to change the behavior?

/etc/nsswitch.conf default config:

#
# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.4.1 2010/06/14 02:09:06
kensmith Exp $
#
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files

I changed:

group: compat
passwd: compat

to

group: files
passwd: files

ls -l with group and passwd set as compat:

real    0m19.381s
user    0m6.361s
sys     0m12.813s

And ls -l with group and passwd set as files:

real    0m0.292s
user    0m0.039s
sys     0m0.033s

This is under FreeBSD 8.1-RELEASE.

Keith


-- 
Eat sushi frequently. - Avi
[email protected] is the human contact address.
[email protected] is the list posting address.
See below URL for subscribe/unsubscribe and list options:
http://inet-access.net/mailman/listinfo/list