Re: work praudit with tee & grep
Robert Watson wrote:
>
> On Mon, 20 Aug 2007, sam wrote:
>
>> I am installed AUDIT
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit.html
>>
>> # praudit /etc/auditpipe | grep "xxx"
>> &
>> # praudit /etc/auditpipe | tee file.log
>> &
>> # praudit /etc/auditpipe > file.log
>>
>> this is not work
>> please help me
>
> Vladimir,
>
> Could you confirm that when you typed the command, you entered it as
> above instead of using /dev/auditpipe, the actual name of the audit
> device? I think all the examples in the Handbook are correct,
> suggesting a transcription error either when you typed the command, or
> when you copied it to the e-mail. If that's not it, could you be more
> specific about the failure mode?
>
> Robert N M Watson
> Computer Laboratory
> University of Cambridge
>
sorry
my problem in buffer-pipe
# praudit -l /dev/auditpipe | tee file.log
need full load in buffer-pipe (4096 bytes), after data forward to STDOUT
& file.log
please help me data forward without buffer-pipe ??
sorry, my bad english
/Vladimir Ermakov
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 4 之 9 篇):