Forum: CFEngine Help
Subject: unit_root_passwd.cf
Author: trumpjk
Link to topic: https://cfengine.com/forum/read.php?3,26164,26164#msg-26164

I am trying to use this to update the root password hash on multiple systems. I 
leave the example file as is so the edits occur on a test file /tmp/shadow. 
When cfengine runs it edits the shadow but instead of inserting the has it puts 
the following:
$(pw[1])

This is text similar to what is in the line: edit_field => 
col(":","2","$(pw[1])","set");

Has anyone used this method to successfully update password hash?

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

Reply via email to