|
Don't touch them in /etc/services... that basically just maps the port numbers to service names... If you remember what you took out, put it back!
You need to check /etc/inetd.conf (in most cases) for any un-commented lines (without a "#" at the beginning of the line), then restart inetd ("killall -1 inetd" will force inetd to restart on the fly).
In some cases, you'll need to also check "xinetd" (some Linux variants use it, like newer Redhat versions). And to disable some of the other services, you have to disable them from the rc startup scripts.
Please respond with the Linux variant and version you are using, and I'll do my best to help.
|