Operating System - HP-UX
1825767 Members
2033 Online
109687 Solutions
New Discussion

Re: How do I find out what inetd.conf services do?

 
SOLVED
Go to solution
Stuart Abramson
Trusted Contributor

How do I find out what inetd.conf services do?

Our Security Team has asked the UNIX Team about inedt.conf services:
o..What do they do?
o..Are we using them?
o..Who uses them?
o..Can we turn them off?

How do I find out this info.

For example, here are some inetd entries:

dtspc stream tcp nowait root /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd
rpc xti tcp swait root /usr/dt/bin/rpc.ttdbserver 100083
recserv stream tcp nowait root /usr/lbin/recserv recserv
rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068
instl_boots dgram udp wait root /opt/ignite/lbin/instl_bootd instl_bootd
registrar stream tcp nowait root /etc/opt/resmon/lbin/registrar /etc/opt/resmon/lbin/registrar
bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
vnetd stream tcp nowait root /usr/openv/bin/vnetd vnetd
vopied stream tcp nowait root /usr/openv/bin/vopied vopied
bpjava-msvc stream tcp nowait root /usr/openv/netbackup/bin/bpjava-msvc bpjava-msvc
hacl-probe stream tcp nowait root /opt/cmom/lbin/cmomd /opt/cmom/lbin/cmomd
hacl-cfg dgram udp wait root /usr/lbin/cmclconfd cmclconfd
hacl-cfg stream tcp nowait root /usr/lbin/cmclconfd cmclconfd

I can find out what they do by doing a "man" on each one, i.e.- "man recserv", I guess.

How do I find out who is using them?
o..netstat -some option
o..lsof -something or other
o.. ?
6 REPLIES 6
Luk Vandenbussche
Honored Contributor

Re: How do I find out what inetd.conf services do?

Hi,

These are netbackup services :

bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
vnetd stream tcp nowait root /usr/openv/bin/vnetd vnetd
vopied stream tcp nowait root /usr/openv/bin/vopied vopied
bpjava-msvc stream tcp nowait root /usr/openv/netbackup/bin/bpjava-msvc bpjava-msvc

These are MC/Serviceguard services

hacl-probe stream tcp nowait root /opt/cmom/lbin/cmomd /opt/cmom/lbin/cmomd
hacl-cfg dgram udp wait root /usr/lbin/cmclconfd cmclconfd
hacl-cfg stream tcp nowait root /usr/lbin/cmclconfd cmclconfd


Stuart Abramson
Trusted Contributor

Re: How do I find out what inetd.conf services do?

Thanks!
MZ_1
Advisor

Re: How do I find out what inetd.conf services do?

hey Stewart. just went through this too. besides the obvious and ones answered above, that leave registrar. registrar is the EMS service for hardware errors.
Stuart Abramson
Trusted Contributor

Re: How do I find out what inetd.conf services do?

Mark:

I'll call you Friday morning to discuss.

How do I find who's using them:

o..netstat -what options
o..lsof -what options
o..rpcinfo ??

Stuart
Arunvijai_4
Honored Contributor
Solution

Re: How do I find out what inetd.conf services do?

1) netstat -na |grep -E "port" will list of who is using to what ?

2) lsof -p

3) rpcinfo -p
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=223018

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Brian Markus
Valued Contributor

Re: How do I find out what inetd.conf services do?

Install Bastille-UX for HP-UX. It has a template with questions. Do you want to have this service on? It does blah blah blah. It's a great way to learn what everyone of the services does. Plus you can cut/paste from the template. :)

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6849AA

http://www.bastille-linux.org/jay/

Hope this helps

-Brian.
When a sys-admin say's maybe, they don't mean 'yes'!