OT: Bad interpreter

Julian Field MailScanner at ecs.soton.ac.uk
Sun Oct 29 13:50:50 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Raymond Dijkxhoorn wrote:
> Hi!
>
>> Anyone seen this before?
>>
>> [root at 102546-web1 tmp]# cat tmp.sh
>> #! /bin/sh
>>
>> echo This is a test.
>>
>> [root at 102546-web1 tmp]# /tmp/tmp.sh
>> - -bash: /tmp/tmp.sh: /bin/sh: bad interpreter: Permission denied
>
> Check if /tmp isnt mounted noexec ...
That was it. I found it 2 minutes after I posted. Why would anyone do 
that? If you are trying to keep nasty programs out, then surely they'll 
just use /var/tmp instead.
Confused by why this was set this way...

thanks anyway,
Jules.
>
> Bye,
> Raymond.

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk



-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.5.0 (Build 1112)
Comment: Fetch my public key foot-print from www.mailscanner.info
Charset: ISO-8859-1

wj8DBQFFRLJYEfZZRxQVtlQRAk38AJ9I1mpgsvIxpUJa8zmqhtY1Fg039gCgtXY5
BqIVr/2vjl0KNW+s8zZsCHY=
=B3nS
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list