From owner-freebsd-questions@FreeBSD.ORG Fri Jul 25 11:39:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 540FE37B401 for ; Fri, 25 Jul 2003 11:39:54 -0700 (PDT) Received: from ns.pro.sk (proxy.pro.sk [195.80.161.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AD3343FB1 for ; Fri, 25 Jul 2003 11:39:51 -0700 (PDT) (envelope-from prosa@pro.sk) Received: from peter (Peter [192.168.1.53]) by ns.pro.sk (8.11.3/8.11.3) with SMTP id h6PIdmE87057 for ; Fri, 25 Jul 2003 20:39:48 +0200 (CEST) (envelope-from prosa@pro.sk) Message-ID: <020d01c352dc$0ef7a7e0$3501a8c0@pro.sk> From: "Peter Rosa" To: "freebsd-questions" Date: Fri, 25 Jul 2003 20:39:18 +0200 Organization: PRO, s.r.o. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Subject: Fw: Problem with periodically done scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 18:39:54 -0000 I'm asking again, as there is no response up now. As for me, now it seems as.... I don't know what's the error here, I have never seen that listings (using -x switch). Peter Rosa ----- Original Message ----- From: "Peter Rosa" To: Cc: "freebsd-questions" Sent: Friday, July 25, 2003 6:59 PM Subject: Re: Problem with periodically done scripts > Here is complete listing. Do you have any idea ? > > + echo Checking for uids of 0: > Checking for uids of 0: > + awk -F: $3==0 {print $1,$3} /etc/master.passwd > + tee /dev/stderr > root 0 > toor 0 > + sed -e /^root 0$/d -e /^toor 0$/d > + wc -l > + n= > + [ -gt 0 -a -lt 1 ] > [: 0: unexpected operator > + echo Checking for passwordless accounts: > Checking for passwordless accounts: > + awk -F: NF > 1 && $1 !~ /^[#+-]/ && $2=="" {print $0} /etc/master.passwd > + tee /dev/stderr > + wc -l > + n= > + [ -gt 0 -a -lt 1 ] > [: 0: unexpected operator > > > Peter Rosa