[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] Why does my executable [SOLUTION]



On Wed, Jun 20, 2001 at 02:54:51PM +1000, Peter Rundle wrote:
> Solved it :-),

Jolly good.

On a slightly related topic, see if this trick works for you,
I can't remember where I read about it:

starburst:~# /usr/bin/xsnow
Xsnow-1.41, December 16th 2000 by Rick Jansen (rja@nospam.euronet.nl)
WWW: http://www.euronet.nl/~rja/Xsnow/

starburst:~# chmod -x /usr/bin/xsnow 
starburst:~# logout
chesty@nospam.starburst:~$ ls -l /usr/bin/xsnow 
-rw-r--r--    1 root     root        87664 Apr 14 15:11 /usr/bin/xsnow
chesty@nospam.starburst:~$ /usr/bin/xsnow
bash: /usr/bin/xsnow: Permission denied
chesty@nospam.starburst:~$ /lib/ld-linux.so.2 /usr/bin/xsnow 
Xsnow-1.41, December 16th 2000 by Rick Jansen (rja@nospam.euronet.nl)
WWW: http://www.euronet.nl/~rja/Xsnow/

Works on partitions that have been mounted noexec as well.
I don't know what my point is, I just find it interesting.

(replace ld-linux.so.2 with ld-linux.so.1 for libc5, I haven't
tested to see if it works with ld-linux.so.1, but I don't see
why it wouldn't)

-- 
	chesty
	

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug