On Wednesday, March 25, 2015 at 11:49 AM, Kevin Keane Subscription wrote:
RE: [chef] Re: Re: User ManagementUses ruby’s Etc module which uses the system calls to get the data. So it
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
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.