Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
and i did chmod +x becasue i beleive you need that for it to have permission to execute
i actually thought you were trying to get the cleanup/reset script to work, not this one... i thought you weren't gonna run this one until you were sure cron would cleanup all your chains at a certain time...
Quote:
Originally Posted by MrSako
i think i do?
> ls -l /bin/sh
lrwxr-xr-x 1 root root 4 May 26 22:56 /bin/sh -> bash
it has different permissions or something i think?
try setting the shebang to /bin/bash then...
i think something funny is going-on here, i'm just not sure what it is...
[root@vps local]# chmod a+x test.sh
[root@vps local]# ./test.sh
: bad interpreter: No such file or directory
not sure what to tell you then my friend... i think you should wait a few hours to see if someone who knows what could be causing this behavior reads this thread and posts a solution... or maybe you'll figure it out on your own... but aside from that, you should probably open a new thread for this (software forum), cuz it's a completely different issue... once you have this sorted out, then we can continue with the iptables... you need to be able to execute shell scripts in order to work with iptables scripts... i hope you get this worked-out somehow... i personally don't have any ideas, though...
could this have anything to do with the enviroment variables or anything like that
i know ive had other issues with enviroment variables etc in other server problems. my VPS host did some freaky setup and aren't willing to do anything about it (im probally gonna get a new host sooner or later)
I had asked where you reside there MrSeko, and now wonder exactly what you're using there vis software and hardware. It sounds to me your basic setup is something I have never heard of, remotely contemplated, or understand in the least. I agree with win32sux, you have a problem beyond anything I've ever heard of. On my end, internet access is stupid-simple and iptables is a dream come true.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.