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,20609#msg-20609
Sorry didn't read the whole thing. Unfortunately, chsec will not do passwords. Sometime in those situations, I use a ed (yes, the old school ed) script combined with a here document to do that. First you have to change a password (I do a dummy id) to get the salt value and use that to substiture. However, since you are using cfengine, edit_lines is made for doing this like that. Don't forget to change the lastupate field as well. _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
