• We did not send an email asking for donations - please read this post.

verify and modify users in existing sudo files in sudoers.d/

jsabo

New Member
Joined
Sep 2, 2022
Messages
5
Reaction score
0
Credits
52
Hi Guys.
I have been lkooking for a way to use ansible to first verify which users are in an existing sudoers file by comparing them to a list of users i have, then adding any users that did not match my list.
I am not looking for a complicated fix to this, but so far i haven't found any feasible examples.
any help please?
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top