Author
|
Topic: cant get a shell script to run
|
|
willy wonka
Member
Member # 32
|
posted May 08, 2002 05:47 AM
ummm if you you've got a root terminal, you don't need sudo.what's the command you're using to run the script? -------------------- -- -willy "Freedom will henceforth be compulsory." -Random Party Manifesto
Posts: 92 | Registered: Aug 2001
| IP: Logged
|
|
|
willy wonka
Member
Member # 32
|
posted May 09, 2002 11:43 AM
well, most of what you said didn't make any sense whatsoever. maybe try some punctuation, and this: sh <script>or, if it's a tcsh script: tcsh <script> consequently, if it's a bash script: bash <script> and again, it's "sudo", not "psudo" or "pseudo". two of those will give you a command not found error. -------------------- -- -willy "Freedom will henceforth be compulsory." -Random Party Manifesto
Posts: 92 | Registered: Aug 2001
| IP: Logged
|
|
Matthew Gates
Junior Member
Member # 428
|
posted May 19, 2002 04:41 AM
Please post a little more info:your shell (echo $SHELL) your PATH the output of head -1 [scriptname] I had one thought: If the script starts with a #!... line that doesn't point towards an executable shell on your system, you'll get a message like one of these, depending on your shell (my test script is called "test", executed using ./test) in ksh: ksh: ./test: No such file or directory in bash: bash: ./test: bad interpreter: No such file or directory in tcsh: ./test: Command not found. in zsh: zsh: no such file or directory: ./test Good luck.
Posts: 3 | From: Düsseldorf, Germany / UK | Registered: May 2002
| IP: Logged
|
|
<pkl33>
unregistered
|
posted July 15, 2002 06:16 PM
Hmm. It seems ssh-brute is an Expect script that uses a dictionary to apply a brute force attack on an ssh server. While it does have legit uses, I somehow doubt our friend is a sysadmin trying to test the security of his network . . .Nice try, Micromacro.
IP: Logged
|
|