Visit Our UNIX and Linux User Community


Ports Disabling


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Ports Disabling
# 1  
Old 04-01-2002
Question Ports Disabling

I will want to disable all the ports not needed in my UNIX.

If I put a # sign at the beginning of the line of the port name I want to disable in /etc/services.... that's all????? Or I need to do anything else to disable a port????
# 2  
Old 04-01-2002
Do not edit /etc/services. Instead, comment out lines in /etc/inetd.conf. Then restart inetd for the changes to take effect. use "netstat -a" to look for open ports which do not use inetd. you have to turn off those proccesses individually.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #104
Difficulty: Easy
Unix is a family of multitasking, portable, multi-user computer operating systems, which do not have time-sharing capability.
True or False?

10 More Discussions You Might Find Interesting

1. Hardware

How disabling GPU?

Hi All I'm find out a way to disable the DGD: AMD Radeon HD 7470M on my Ubutu 16.04.2 LTS because radeon open source module is not capable to support this GPU and consequence the boot is very slow. I have tried serveral way with pci-stub.ids in the grub menu but not work. In general how... (11 Replies)
Discussion started by: _Fabio_79
11 Replies

2. Solaris

Disabling sendmail

Hello everyone, can anyone tell me how to disable sendmail on solaris 10? I seem to have the sendmail process from hell. Did an SVCS | grep for mail and disabled the 2 processes it threw up. But something is still respawning sendmail (if I kill it manually) and it's doing the usual... (2 Replies)
Discussion started by: callmebob
2 Replies

3. Shell Programming and Scripting

disabling and enabling the crontab

Hi All, I need disable all the crontab job in the cron and then later have to enable the crontab job by shell scripting. or otherwise disable the cron and enable cron again by means of unix shell scripting. Please can you one help me out in this. Thanks in Advance. Regards, Sindu (2 Replies)
Discussion started by: indira_s
2 Replies

4. Solaris

disabling watchdog

hi, is it possible to disable the "hardware watchdog" on a V240 sol 10 server? and how to? this server freeze 9/10 during boot on this command...:mad: thanks (3 Replies)
Discussion started by: guilik
3 Replies

5. UNIX for Dummies Questions & Answers

disabling NIS

How do you disable a server, #1, from trying to use the NIS that is running on another server, #2? I would like the #1 server to just use the local etc/shadow file (3 Replies)
Discussion started by: calamine
3 Replies

6. UNIX for Dummies Questions & Answers

Disabling logrotate

Is there a way to disable log rotation? (just for wtmp) I'm looking in /etc/logrotate.conf and I checked the man page but didn't see any option to disable. Is it as simple as commenting out monthly and rotate lines? /var/log/wtmp { missingok # monthly create 0664 root utmp # ... (2 Replies)
Discussion started by: primal
2 Replies

7. Solaris

Disabling telnet

I am running solaris 9.. currently has telnet / ssh access.. Initially I just want to stop telnet access (but leave ftp open as some scripts etc still using this and need modification) As far as I know I just need to do the following: edit the /etc/inetd.conf file and comment out: telnet ... (2 Replies)
Discussion started by: frustrated1
2 Replies

8. Post Here to Contact Site Administrators and Moderators

Disabling thread deletion by OP?

. (8 Replies)
Discussion started by: Driver
8 Replies

9. UNIX for Dummies Questions & Answers

disabling telnet

how do i disable the telnet (2 Replies)
Discussion started by: rmuhammad
2 Replies

10. UNIX for Dummies Questions & Answers

Disabling Telnet

How do you keep users from logging on while you do file maintenance? Is there a way to temporarily disable telnet? (2 Replies)
Discussion started by: michieka
2 Replies

Featured Tech Videos