Forum: Cfengine Help
Subject: Re: Looking for some guidance with syncronizing passwords in AIX
Author: raymondcox
Link to topic: https://cfengine.com/forum/read.php?3,20589,20610#msg-20610
I am looking to edit the /etc/security/passwd file and update the password hash
for a select set of users. For the LINUX systems the /etc/shadow is a pretty
easy file to parse, however because of the format of the AIX version I was kind
of curious to see what others were doing.
For example for the user "testuser" the passwd stanza looks like:
testuser:
password = hO4hXyx/QfgCg <<<<< I want to replace this value with a new
password hash
lastupdate = 1229626078
flags =
Currently I use a perl/expect script to update the passwords on all of the
systems but was thinking that CFengine might do a better job.
Thank you for the chsec command, that looks like it will solve a number of
other issues I have on my todo list.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine