Date: Thu, 24 Aug 2000 09:43:32 -0400 From: "Andresen,Jason R." <jandrese@mitre.org> To: Terry Rossi <tpr@pics.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Fw: URGENT HELP PLEASE Scripts No Longer Working Message-ID: <39A52684.95227F87@mitre.org> References: <007201c00dcf$a1d731c0$7dbc08cf@pics.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39A52684.95227F87>