OT: Bad interpreter

Raymond Dijkxhoorn raymond at prolocation.net
Sun Oct 29 15:26:05 GMT 2006


Hi!

>>> [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...

Some do this to have 'protection' ... but somehow people know how to get 
around this anyway. If you exec a script with perl /tmp/blah it still 
works.

Bye,
Raymond.


More information about the MailScanner mailing list