05-20-2002
you can turn off services and ports by editing the
/etc/services and
/etc/inetd.conf file and comment out "#" the required ports and services
Last edited by hassan2; 05-21-2002 at 05:27 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When I scan my linux box for open ports, i have several of them, but they shouldn't be open. I removed the lines for them in /etc/services, and left just stuff like telnet, ssh, ftp. Why are they still open? I've restarted the network, and I've even restarted my box, but they still apear as open.... (4 Replies)
Discussion started by: sTorm
4 Replies
2. IP Networking
Ok, I've been working in the IT field for about 3 years now and I never fully understood the concept of ip ports. I just started a new job that uses Solaris and today it kinda clicked in my head and I want to know if I'm right or wrong.
Does each ip address have multiple ports. because we... (4 Replies)
Discussion started by: eloquent99
4 Replies
3. IP Networking
What are some good sites that list all TPC/UDP ports? ~thanks (3 Replies)
Discussion started by: ireeneek
3 Replies
4. UNIX for Dummies Questions & Answers
Hello UNIX people...
This is my first foray into the UNIX world so go easy on me...
I have a client who has hired me to do some work on his windows stuff, BUT it just so happens his UNIX server started giving him problems...
He is running SCO Open Server 5.0.6
The TTY ports won't... (5 Replies)
Discussion started by: TechKnow
5 Replies
5. Solaris
Hi,
If for example i try to start tomcat in a solaris server and get errors related to address already in use, how can I know if this port is really used for another process?
If someone can point any documentation it will be very helpfull.
Thanks! :rolleyes: (9 Replies)
Discussion started by: ffpradella
9 Replies
6. UNIX for Dummies Questions & Answers
When the netstat -an command is run on current unix machine, it seems that there's an excessive amount of ports established (roughly 600). How can I tell what each of these ports are being used for? (1 Reply)
Discussion started by: lastchance551
1 Replies
7. UNIX for Dummies Questions & Answers
just a quick question:
a. whats the simplest command to check open port and the corresponding services?
example:
bash-2.05# netstat -an | grep LISTEN
*.199 *.* 0 0 49152 0 LISTEN
*.8989 *.* 0 0 49152 ... (1 Reply)
Discussion started by: lhareigh890
1 Replies
8. Red Hat
I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed.
I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed.
Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies
9. Shell Programming and Scripting
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
10. Linux
Hi Team,
I am using RHEL 7.3.
I had added few port numbers in
/proc/sys/net/ipv4/ip_local_reserved_ports.
Now how do I verify that kernel does not allow to a service which requests random ports for its services.
Thanks in Advance
Hariharan Gopal (0 Replies)
Discussion started by: hariharan.gopal
0 Replies
LEARN ABOUT FREEBSD
services
SERVICES(5) BSD File Formats Manual SERVICES(5)
NAME
services -- service name data base
DESCRIPTION
The services file contains information regarding the known services available in the Internet. For each service a single line should be
present with the following information:
official service name
port number
protocol name
aliases
Items are separated by any number of blanks and/or tab characters. The port number and protocol name are considered a single item; a ``/''
is used to separate the port and protocol (e.g. ``512/tcp''). A ``#'' indicates the beginning of a comment; subsequent characters up to the
end of the line are not interpreted by the routines which search the file.
Service names may contain any printable character other than a field delimiter, newline, or comment character.
If ``db'' is specified as source in the nsswitch.conf(5), /var/db/services.db is searched. The database in /var/db/services.db needs to be
updated with services_mkdb(8) after changes to the services file have been applied.
NIS INTERACTION
Access to the NIS services.byname map can be enabled by adding a single ``+'' on a line by itself in the /etc/services file. This causes the
contents of the NIS services map to be inserted at the location where the ``+'' appears.
FILES
/etc/services The services file resides in /etc.
SEE ALSO
getservent(3), nsswitch.conf(5), services_mkdb(8)
HISTORY
The services file format appeared in 4.2BSD.
BUGS
A name server should be used instead of a static file.
BSD
April 4, 2010 BSD