Need support to add users in Group and remove + ldap users

53 views
Skip to first unread message

shyam sundar Keshari

unread,
Mar 6, 2016, 9:17:26 AM3/6/16
to puppet...@googlegroups.com
Hi Friends,

Need your help to complete 1 task describe below :

1.>Need to add users (ldap user) in wheel group 
2.>Remove user from wheel group .

I am able to add using below steps :

user { 'shyam.kumar':                        ----- shyam.kumar  (ldap user not locally created )
gid => '11000',         --------- this is ldap gid for my user 
groups => 'wheel',
}

So kindly provide any modules or code which can remove user from wheel ..

NOTE: Using ldap(Active directory ) account  credential to login to all linux using SSSD configuratino.

yeayu

unread,
Mar 6, 2016, 4:42:06 PM3/6/16
to Puppet Users
Hi,

Have you had a look at this?

Taking into consideration wheel is a local group, you could remove any user from it simply by amending its members.

Regards
Reply all
Reply to author
Forward
0 new messages