Forum: Cfengine Help Subject: Re: Looking for some guidance with syncronizing passwords in AIX Author: matter Link to topic: https://cfengine.com/forum/read.php?3,20589,20614#msg-20614
No problem. edit_lines is super powerful tool to wield. Once you learn it, you can conquer the world. Make sure to test on a test file, I see some issues with the quick hack that could arise. Like: select_start => "^$(userid):"; should probably be select_start => "^$(userid):$"; Minor difference, but I am paranoid. I would also stop the region selection after the user id, just in case. Also, the regexs I used are for the standard /etc/security/password, your's may vary. _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
