From owner-freebsd-questions@FreeBSD.ORG Sun Sep 14 19:34:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C91F61065675; Sun, 14 Sep 2008 19:34:50 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5ECB88FC17; Sun, 14 Sep 2008 19:34:50 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id m8EJYm0e008472; Sun, 14 Sep 2008 21:34:49 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.2/8.14.2) with ESMTP id m8EJYmgn078017; Sun, 14 Sep 2008 21:34:48 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Sun, 14 Sep 2008 21:34:48 +0200 From: Marco Beishuizen To: freebsd-questions@freebsd.org Message-ID: <20080914213448.6ebdf707@yokozuna.lan> In-Reply-To: <48CD433F.1060905@FreeBSD.org> References: <20080908222921.4daba36a@yokozuna.lan> <48C59453.3090604@FreeBSD.org> <20080912183357.49250e47@yokozuna.lan> <48CAE6FD.4020001@FreeBSD.org> <20080913025118.4d406f32@yokozuna.lan> <48CD433F.1060905@FreeBSD.org> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: glarkin@freebsd.org Subject: Re: logcheck doesn't work anymore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 19:34:50 -0000 On Sun, 14 Sep 2008 13:00:47 -0400 Greg Larkin wrote: > Finally, I'll add the members of the wheel group to the logcheck group > so anyone in that group can still read the file as they could before: > -------------------------------------------------------------------- > fbsd70# grep ^wheel: /etc/group > wheel:*:0:root,glarkin > fbsd70# grep ^wheel: /etc/group | awk -F : '{ print $4 }' | xargs > \ -n1 pw groupmod logcheck -m > fbsd70# grep ^logcheck: /etc/group > logcheck:*:915:root,glarkin > -------------------------------------------------------------------- When trying to add root and marco to the logcheck group I get: ... #grep ^wheel: /etc/group | awk -F : '{ print $4 }' | xargs \ -n1 pw groupmod logcheck -m #xargs: -n1: No such file or directory ... Should I add them manually to /etc/group? Or is this not enough to make it work. Regards, Marco -- Around computers it is difficult to find the correct unit of time to measure progress. Some cathedrals took a century to complete. Can you imagine the grandeur and scope of a program that would take as long? -- Epigrams in Programming, ACM SIGPLAN Sept. 1982