The solution page has an example for adding users and it contains examples for editing lines which you could use for the LogLevel change.

adding users -> http://www.cfengine.org/manuals/cf3-solutions.html#Add-users-to-passwd-and-group edit_line -> http://www.cfengine.org/manuals/cf3-solutions.html#Distribute-root-passwords



On Jul 5, 2010 6:36pm, Ben Rockwood <techniko...@gmail.com> wrote:
I'm having a very hard time wrapping my head around Cfengine3.


One example is simple line edits in a config file. Let say I want to change "LogLevel info" to "LogLevel debug" in /etc/ssh/sshd_config, whats the right way to do that?




Another is adding a new user. Do I need to call "useradd ..." as a command: or is there some special way I should do it?


Thanks.



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

Reply via email to