From owner-freebsd-questions Thu Aug 24 6:53:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtpproxy1.mitre.org (mb-20-100.mitre.org [129.83.20.100]) by hub.freebsd.org (Postfix) with ESMTP id BE9EF37B422 for ; Thu, 24 Aug 2000 06:53:53 -0700 (PDT) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.9.3/8.9.3) with ESMTP id JAA22502 for ; Thu, 24 Aug 2000 09:53:52 -0400 (EDT) Received: from mailsrv2.mitre.org (mailsrv2.mitre.org [129.83.221.17]) by smtpsrv1.mitre.org (8.9.3/8.9.3) with ESMTP id JAA10525 for ; Thu, 24 Aug 2000 09:51:20 -0400 (EDT) Received: from mitre.org ([128.29.145.140]) by mailsrv2.mitre.org (Netscape Messaging Server 4.1) with ESMTP id FZSULQ00.G2Y; Thu, 24 Aug 2000 09:53:50 -0400 Message-ID: <39A52684.95227F87@mitre.org> Date: Thu, 24 Aug 2000 09:43:32 -0400 From: "Andresen,Jason R." Organization: The MITRE Corporation X-Mailer: Mozilla 4.73 [en]C-20000509M (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Terry Rossi Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Fw: URGENT HELP PLEASE Scripts No Longer Working References: <007201c00dcf$a1d731c0$7dbc08cf@pics.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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