[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Editfiles in inform mode
From: |
christian pearce |
Subject: |
Editfiles in inform mode |
Date: |
Tue, 21 Feb 2006 14:45:35 -0500 |
I any having issues with trying to get the audting mode to report back
to me what it is doing. Here is an example:
[root@localhost tmp]# cat cf.test
control:
actionsequence = ( editfiles )
editfiles:
any::
{
/etc/inetd.conf
Inform "on"
HashCommentLinesStarting "name"
HashCommentLinesStarting "comsat"
}
[root@localhost tmp]# echo "name\ncomsat" > /etc/inetd.conf
[root@localhost tmp]# CFINPUTS=/var/tmp cfagent -f ./cf.test -I
[root@localhost tmp]# echo "name\ncomsat" > /etc/inetd.conf
[root@localhost tmp]# CFINPUTS=/var/tmp cfagent -f ./cf.test -v | grep Comm
Commenting # name\ncomsat
[root@localhost tmp]#
as you can see it works when I specify -v and not -I. Am I
misunderstanding what the Inform switch is for?
--
Christian Pearce
- Editfiles in inform mode,
christian pearce <=