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