|
From: | Murthy Hebbar |
Subject: | cfagent does not update files |
Date: | Mon, 23 Aug 2004 12:15:09 -0700 |
I just
completed installing cfengine on two test nodes and realized that cfagent does
not fix file permissions and does not update files. Any help here is
appreciated. I am running cfengine 2.0.6 on Solaris 2.8. Thanks, Murthy ----------------------------cfagent.conf-------------------------- files:
# Check some important files
/etc/passwd mode=644 owner=root action="" inform=true
/etc/shadow mode=600 owner=root action="" inform=true
# Do a tripwire check on binaries!
/usr/local # Scan
/usr dir
owner=root,daemon # all files must be owned by root or daemon
checksum=md5 # use md5 or sha
recurse=inf # all subdirs
ignore=tmp # skip /usr/tmp action=""> editfiles:
{ /etc/services
AppendIfNoSuchLine "cfengine
5308/tcp
#cfengine"
}
{ /var/spool/cron/crontabs/root
AppendIfNoSuchLine "0 * * * * export
CFINPUTS=/usr/local/etc/cfinputs;/usr/local/sbin/cfexecd -F"
}
|
[Prev in Thread] | Current Thread | [Next in Thread] |