Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

block rpc services in HP-ux v1 and v2

suvy_1
Occasional Contributor

block rpc services in HP-ux v1 and v2

How to block rpc services in HP-ux v1 and v2.
root 33 0 0 Sep 11 ? 0:00 krpckd
daemon 1054 1 0 Sep 11 ? 0:00 /usr/sbin/rpc.statd
root 1060 1 0 Sep 11 ? 0:00 /usr/sbin/rpc.lockd
root 982 1 0 Sep 11 ? 0:00 /usr/sbin/rpcbind
root 1508 1 0 Sep 11 ? 0:11 /opt/dce/sbin/rpcd
root 2063 1 0 Sep 11 ? 0:00 /usr/sbin/rpc.mountd
root 21157 21006 1 19:49:51 pts/0 0:00 grep rpc
1 REPLY
Bill Hassell
Honored Contributor

Re: block rpc services in HP-ux v1 and v2

Comment the rpc lines in /etc/inetd.conf. Run inetd -c to stop the rpc services found in inetd.conf (if any).

The other services are stopped by disabling the startup scripts that use rpc services. The control script for NFS is netdaemon. Set these variables to =0:

NFS_CORE=0
LOCKMGR=0
NFS_CLIENT=0
NFS_SERVER=0
START_MOUNTD=0
AUTOFS=0

Also edit the file Rpcd:

START_RPCD=0




Bill Hassell, sysadmin