Re: Help needed in Linux commands...for Cpanel Linux webhosting.....

2 views
Skip to first unread message

ritesh...@gmail.com

unread,
Apr 16, 2006, 8:40:26 AM4/16/06
to Himanshu Agarwal, linux...@yahoogroups.com, linux...@googlegroups.com
First of all, please don't send me personal mails for Linux related issues.
I've tried promoting Linux-Nepal for these reasons only. If you post
it to the group, everyone sees the problem and you get suggestions
from multiple people. That's better, right ?
I hope you understand my point in a positive manner. :-)

Yes, if there is something personal that you thing shouldn't be known
to others, you can privately mail me. ;-)
Use your own discretion.


On 4/16/06, Himanshu Agarwal <himag...@hotmail.com> wrote:
> Dear Ritesh,
>
> Since I got know you from Vivek Goenka, that you are in the field of linux,
> I have a simple question.
>
> I have a website with Cpanel Linux hosting with Kernel 2.4.x
>

If I understand correctly, you have purchased some space with some
Linux hosting service provider. You aren't using your own servers.

> I want to run some command "say: iptables-restore -n < badiplist.txt" to
> execute some of the file that I need to run in mywebsite to block ip address
> of specified countires.
>

If what I've mentioned above is correct then you can't execute those
iptables commands because they require root privileges and you won't
be having that.
Also no one would allow a single customer to change server settings
which could affect the entire functioning of the machine itself
*unless* it is a VM in which case it's just vice-versa.

> I don't know where to write the command, since I don't find the place, can
> you please assist me.
>
> Please check the email for attachment and if possible read countryblock.txt
> (documentation) so that you may know more about it. With a tough search and
> job I have found this software to block ip address of specified countires
> from viewing website.
>
> It will not take a long time for you since you are a linux professional.
>
> Waiting for a reply.....
>
> With Loves,
> Himanshu Agarwal
>
>
>

I guess I've answered correctly. If not, feel free to reply back.

Ritesh
--
Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
"Necessity is the mother of invention"
"Stealing logics from one person is plagiarism, stealing from many is research."

Reply all
Reply to author
Forward
0 new messages