Visit Our UNIX and Linux User Community


Search for network services


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Search for network services
# 8  
Old 01-09-2008
Awesome information. Thank you guys for the help. I am going to work on this later today so I will post back if I have additional questions. Thanks again for helping out a newbie.
# 9  
Old 01-09-2008
OK one more quick question. When I look at the contents of the inetd.conf file a lot of the services I am looking for already have the "#" in front of them. Does this mean they are already disabled?

Example from my file....

#echo stream tcp6 nowait root internal
#echo dgram udp6 wait root internal
#discard stream tcp6 nowait root internal
#discard dgram udp6 wait root internal
#daytime stream tcp6 nowait root internal
#daytime dgram udp6 wait root internal
#chargen stream tcp6 nowait root internal
#chargen dgram udp6 wait root internal
# 10  
Old 01-09-2008
Quote:
Originally Posted by coachgt1
OK one more quick question. When I look at the contents of the inetd.conf file a lot of the services I am looking for already have the "#" in front of them. Does this mean they are already disabled?

Example from my file....

#echo stream tcp6 nowait root internal
#echo dgram udp6 wait root internal
#discard stream tcp6 nowait root internal
#discard dgram udp6 wait root internal
#daytime stream tcp6 nowait root internal
#daytime dgram udp6 wait root internal
#chargen stream tcp6 nowait root internal
#chargen dgram udp6 wait root internal
yes. If you want to play safe, edit /etc/services and comment them out too.
# 11  
Old 01-09-2008
Cool. Thanks again for all of the help.
# 12  
Old 01-09-2008
Quote:
Originally Posted by ghostdog74
yes. If you want to play safe, edit /etc/services and comment them out too.
Nooo! Smilie
Don't comment them out of /etc/services or you'll no longer be able to match the ports to names when connecting to these services on other machines. Scripts and apps could start producing errors as well if they expect those services.
# 13  
Old 01-09-2008
Quote:
Originally Posted by Smiling Dragon
Nooo! Smilie
Don't comment them out of /etc/services or you'll no longer be able to match the ports to names when connecting to these services on other machines. Scripts and apps could start producing errors as well if they expect those services.
certainly Smilie OP has to judge for himself. I do not use these services in my environment , including apps and scripts, therefore I can do this.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #612
Difficulty: Medium
In Python, they are five numeric types - integers, long integers, floating point, infinite, and complex numbers.
True or False?

7 More Discussions You Might Find Interesting

1. Debian

How do i correct restart network-services in Debian?

Hello, I would like to do follow steps. Set a static IP-Adress on eth0 (For Testing) Set DHCP on eth0 All steps should be done without a single reboot. /etc/network/interfaces iface eth0 inet static address 192.0.2.7/24 gateway 192.0.2.254How do i perform... (3 Replies)
Discussion started by: int3g3r
3 Replies

2. Shell Programming and Scripting

Monitor some of network services

Hi I want to write a script for netflow service because my service doesnt send any packet to netflow walker (server). Although the service is started but it does not send any packet to server until i restart the service I want to write a script in order to restart the service... (7 Replies)
Discussion started by: mohsen1366
7 Replies

3. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

4. IP Networking

Oracle network services

i have installd oracle 10 on Solaris 10 now i want to access this database from remote machine. -bash-3.00$ tnsping 192.168.92.49 TNS Ping Utility for Solaris: Version 10.2.0.2.0 - Production on 17-DEC-2010 21:06:51 Copyright (c) 1997, 2005, Oracle. All rights reserved. Used... (0 Replies)
Discussion started by: akhaliq22
0 Replies

5. HP-UX

how can I get network services

Hi Is there a cmd in hpux 11 to get the network services the network services must display "Listen" like command netstat -an |grep Listen and display the process that is running on a port in HP-Unix at the same time my request can not use lsof -i command,not to install any extral... (2 Replies)
Discussion started by: alert0919
2 Replies

6. IP Networking

stopping and starting network services

Solaris v5.6 how do you stop and start the network services? (4 Replies)
Discussion started by: Westy564
4 Replies

7. UNIX for Advanced & Expert Users

Long Delay if any with network services

While installing a firewall, I was pinging the interface from SCO 5.0.6 Openserver box, while no response, I hit "DEL" to cancel, but no cancel. Then all of a sudden I get BOO-KOO traffic lights on HUB and Switch.... Then a kernel trap error. System froze... Proceeded with a cold boot. Now I have... (8 Replies)
Discussion started by: nashvillek5
8 Replies

Featured Tech Videos