From owner-freebsd-questions Thu Aug 24 6:56:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from picspc01.pics.com (picspc01.pics.com [192.135.189.20]) by hub.freebsd.org (Postfix) with ESMTP id 85D1637B423 for ; Thu, 24 Aug 2000 06:56:45 -0700 (PDT) Received: from TPRHOME (tprhome.pics.com [207.8.188.125]) by picspc01.pics.com (8.9.3/8.9.3) with SMTP id JAA82144; Thu, 24 Aug 2000 09:56:42 -0400 (EDT) (envelope-from tpr@pics.com) Message-ID: <00bc01c00dd3$227000c0$7dbc08cf@pics.com> From: "Terry Rossi" To: "Andresen,Jason R." Cc: References: <007201c00dcf$a1d731c0$7dbc08cf@pics.com> <39A52684.95227F87@mitre.org> Subject: Re: Fw: URGENT HELP PLEASE Scripts No Longer Working Date: Thu, 24 Aug 2000 09:56:42 -0400 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.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ahh... This is the problem. I deleted the [ command thinking it was a junk file. I thought the [ tests were built into the shell. Thanks All. Mystery solved. ----- Original Message ----- From: "Andresen,Jason R." To: "Terry Rossi" Cc: Sent: Thursday, August 24, 2000 9:43 AM Subject: Re: Fw: URGENT HELP PLEASE Scripts No Longer Working > Terry Rossi wrote: > > > > Jaime, > > > > > > Thanks for the advice, I want to make myself more clear. > > > > > > This script fails on my 3.5 STABLE: " [: not found " > > > > > > #!/bin/sh > > > if [ x = x ] > > > then > > > echo "X is X" > > > fi > > > > > > But on my 2.2.7 machine it runs fine. I know the sh is also being more > > > posix complient, does the above script run on anyones "normal" 3.5 OS? > > Well, it looks like the crackers who broke into your system broke your > "test" command. Check in /bin for "test" and "[". You can fix this by > just reinstalling test, but chances are you have a pile of backdoors in > your system already. The only real solution is to reinstall > *everything* and make sure your box is secured. > > > -- > _ _ _ ___ ____ ___ ______________________________________ > / \/ \ | ||_ _|| _ \|___| | Jason Andresen -- jandrese@mitre.org > / /\/\ \ | | | | | |/ /|_|_ | Views expressed may not reflect those > /_/ \_\|_| |_| |_|\_\|___| | of the Mitre Corporation. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message