- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: RE: Re: Re: User Management
- Date: Wed, 25 Mar 2015 11:59:23 -0700
On Wednesday, March 25, 2015 at 11:49 AM, Kevin Keane Subscription wrote:
>
RE: [chef] Re: Re: User Management
>
Just out of curiosity, do you know if ohai actually scans the file, or uses
>
the getpwent utility or API to do it?
>
The difference is that getpwent would also pick up users coming from Active
>
Directory, LDAP etc., depending on you nssswitch.conf configuration.
>
Kevin Keane
>
The NetTech
Uses ruby’s Etc module which uses the system calls to get the data. So it
will have AD/LDAP users if those are configured. For this reason, it’s common
to disable the plugin in those environments. Ideally we could find a more
elegant solution to that but there’s kind of a sharp divide between users who
like to have all ohai data available for search, etc. vs. those who’d prefer
a more opt-in approach, plus there’s compatibility concerns.
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.