Auditing users (AD+local) and groups

37 views
Skip to first unread message

huhm4n

unread,
Jul 23, 2014, 5:35:15 PM7/23/14
to puppet...@googlegroups.com
I'm trying to audit local users and groups in linux and ad,local users,groups on windows using puppet? I looked over, all i can find is to audit permission of file, service status, package installation and all..is there a a way i can get the list of users and have module to see if there is new user or group added/deleted against the list? thanks in advance 

Eduardo A Muñoz

unread,
Jul 24, 2014, 11:25:21 AM7/24/14
to puppet...@googlegroups.com

Hi,  for this problem you would be better off with other tools.

Nevertheless you could create a facter thar list all the users in the system and use that information in a class to check and save against a centralized db.

On Jul 23, 2014 4:35 PM, "huhm4n" <oj.m...@gmail.com> wrote:
I'm trying to audit local users and groups in linux and ad,local users,groups on windows using puppet? I looked over, all i can find is to audit permission of file, service status, package installation and all..is there a a way i can get the list of users and have module to see if there is new user or group added/deleted against the list? thanks in advance 

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/ce7c6e00-7e5a-4745-a5da-20b464b75eed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

huhm4n

unread,
Jul 24, 2014, 4:22:05 PM7/24/14
to puppet...@googlegroups.com
Thanks a lot for the idea. I'll be creating a facter and see how it works or what i can do with it

Josh Cooper

unread,
Jul 24, 2014, 4:44:31 PM7/24/14
to puppet...@googlegroups.com
On Thu, Jul 24, 2014 at 1:22 PM, huhm4n <oj.m...@gmail.com> wrote:
Thanks a lot for the idea. I'll be creating a facter and see how it works or what i can do with it


On Thursday, July 24, 2014 8:25:21 AM UTC-7, showy wrote:

Hi,  for this problem you would be better off with other tools.

Nevertheless you could create a facter thar list all the users in the system and use that information in a class to check and save against a centralized db.

On Jul 23, 2014 4:35 PM, "huhm4n" <oj.m...@gmail.com> wrote:
I'm trying to audit local users and groups in linux and ad,local users,groups on windows using puppet? I looked over, all i can find is to audit permission of file, service status, package installation and all..is there a a way i can get the list of users and have module to see if there is new user or group added/deleted against the list? thanks in advance

Why just run `puppet resource user` which will output the list of local users (and the groups they belong to), or `puppet resource group` which outputs the list of local groups (and its members)?

Josh

--
Josh Cooper
Developer, Puppet Labs

Join us at PuppetConf 2014September 20-24 in San Francisco
Register by July 31st to take advantage of the Early Bird discount save $249!
Reply all
Reply to author
Forward
0 new messages