Forum: Cfengine Help
Subject: Re: Managing sudoers files with exisiting entries
Author: debheller
Link to topic: https://cfengine.com/forum/read.php?3,21077,21080#msg-21080

Stephen, 

I'd agree with Jess about spending some effort towards consolidating your 
sudoers files, if at all possible.  If your systems have 1.7.2, "sudo -V" on 
your managed systems, then as Wes said you can use directives #include and 
#includedir, which in turn means you can actually use something in the nature 
of:


#include /etc/sudoers.%h

  
Where %h is the hostname of the local system.  There are some powerful 
configuration options that you may be able to use - should you be able to take 
advantage of them.  Check out this web page for some intriguing ideas:

http://www.sudo.ws/sudo/sudoers.man.html

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to