From owner-freebsd-questions@FreeBSD.ORG Fri Jul 25 10:00:34 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 A48C437B41F for ; Fri, 25 Jul 2003 10:00:33 -0700 (PDT) Received: from ns.pro.sk (proxy.pro.sk [195.80.161.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id A15E643FB1 for ; Fri, 25 Jul 2003 10:00:23 -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 h6PH06E86690; Fri, 25 Jul 2003 19:00:06 +0200 (CEST) (envelope-from prosa@pro.sk) Message-ID: <00d401c352ce$20ef4c40$3501a8c0@pro.sk> From: "Peter Rosa" To: References: <001f01c352a2$f8c2c740$3501a8c0@pro.sk><03ab01c352a5$27b1a1a0$230aa8c0@MAGOME><002f01c352a9$c02c8680$3501a8c0@pro.sk> <20030725131159.GA11471@catflap.home.slightlystrange.org> Date: Fri, 25 Jul 2003 18:59:36 +0200 Organization: PRO, s.r.o. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 cc: freebsd-questions Subject: Re: 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 17:00:35 -0000 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