From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 21 11:41:45 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79DBD16A417 for ; Tue, 21 Aug 2007 11:41:45 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3BBED13C465 for ; Tue, 21 Aug 2007 11:41:45 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 235C74A7DA; Tue, 21 Aug 2007 07:41:40 -0400 (EDT) Date: Tue, 21 Aug 2007 12:41:40 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: sam In-Reply-To: <46C9528D.8010201@gmail.com> Message-ID: <20070821123943.N50579@fledge.watson.org> References: <46C9528D.8010201@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org Subject: Re: work praudit with tee & grep X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 11:41:45 -0000 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