Link to home
Start Free TrialLog in
Avatar of bankadmin
bankadminFlag for United States of America

asked on

How do you disable or delete the CGI script in a switch

I have a switch running CGI script nph-test-cgi on a switch. How can I remove or delete it? And what will happen when I do that?
ASKER CERTIFIED SOLUTION
Avatar of MrJemson
MrJemson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What brand/model switch is it?
Avatar of bankadmin

ASKER

Mrjemson. Doing that will that just affect the http config interface for the switch?
Yes, that's correct.

Your fear of using this script is misplaced, it's not a major security hole - it only allows a would be hacker to find out where the cgi-bin is on the device... nothing more.

And the fact that it's a switch probably means that it's on your private network and not accessible from the outside world - which again limits its potential threat.

Mr Jemson is right in just saying disable the http server altogether, the HTTP server is just an interface for the underlying command line interface - and therefore won't do any harm to your current config.
> Mrjemson. Doing that will that just affect the http config interface for the switch?
Correct. It is good practice to always turn off the http server when not actively configuring a device.
If you are not too good with the command line, just turn it back on again when you need to change/configure something :-)