Forum: CFEngine Help
Subject: Re: CFEngine Help: Help with coding needed
Author: robson
Link to topic: https://cfengine.com/forum/read.php?3,23760,23769#msg-23769
Thanks a million Nicolas for your help.
For those who are interested here is the finalized tested code
Since you are using multiple slist at the same time, CFEngine makes a
cross-product of each list : it calls change_or_add with
- "\s*password\s+\S+\s*pam_cracklib\.so\s+", "try_first_pass retry=3
minlen=8 lcredit=1 ucredit=1 dcredit=1 ocredit=1 difok=3",
"\s*password\s+", "passwordrequisite