Date: Thu, 24 Aug 2000 09:31:38 -0400 From: "Terry Rossi" <tpr@pics.com> To: <freebsd-questions@freebsd.org> Subject: Fw: URGENT HELP PLEASE Scripts No Longer Working Message-ID: <007201c00dcf$a1d731c0$7dbc08cf@pics.com>
next in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Terry Rossi" <tpr@pics.com> To: "Jaime" <jaime@malkav.snowmoon.com>; <freebsdquestions@freebsd.org> Sent: Thursday, August 24, 2000 9:27 AM Subject: Re: URGENT HELP PLEASE Scripts No Longer Working > 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? > > > > > ----- Original Message ----- > From: "Jaime" <jaime@malkav.snowmoon.com> > To: "Terry Rossi" <tpr@pics.com> > Cc: <freebsd-questions@FreeBSD.ORG> > Sent: Thursday, August 24, 2000 8:33 AM > Subject: Re: URGENT HELP PLEASE Scripts No Longer Working > > > > On Thu, 24 Aug 2000, Terry Rossi wrote: > > > $ periodic > > > [: not found > > > [: not found > > > [: not found > > > usage: basename string [suffix] > > > [: not found > > > Subject: picspc01.pics.com run output > > > > > > This is a /bin/sh script I have recomplied and made a new copy of sh but > > > that didn't appear to correct the problem. Any ideas on what could be > wrong > > > here would be appreciated. > > > > Start by looking through your /etc/periodic directory. It looks > > like someone might have added things to it. Next up, if you had an > > intrusion, I'd recommend that you rc -rf /usr/src and then CVSup a new > > source code tree and recompile the OS. This will get out things like back > > doors in the login binary. This assumes, of course, that you don't have > > any highly customized source code. :) Then I'd suggest that you also > > look in /var/db/pkg for what you have installed, pkg_delete everything and > > reinstall it. Again, this follows the idea that someone might have > > slipped a back door into one of your binaries. Also look at > > /etc/inetd.conf and make sure that nothing is out of place. While you're > > in that file, turn off anything that isn't actively supported. For > > example, if you don't give your users shell access, turn off talk. > > > > Jaime > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > 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?007201c00dcf$a1d731c0$7dbc08cf>