tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: nsswitch dynamic module locations

On Sat, Mar 22, 2008 at 11:35:37PM +1100, Tyler Retzlaff wrote:
> If an nsswitch module source were to be added to tree where should it live?
> /usr/lib/libc/nsswitch/nss_xxx has been suggested is there a better / more
> appropriate place?

/lib/nsswitch and /usr/lib/nsswitch as default location?

> /etc/nss_xxx.conf
> /etc/nssiwtch.d/nss_xxx.conf

/etc/nsswitch.d/ seems preferable to me. I wouldn't do the dance with a
single config file if no reason for compatibility exists. libc should
provide modules with a function to determine the path name of the config
file though.


Home | Main Index | Thread Index | Old Index