1753856 Members
7378 Online
108808 Solutions
New Discussion юеВ

how to disable rpc

 
Quek Shu Wen
Occasional Advisor

how to disable rpc

Due to some security, i need to disable the rpc. however i comment (#) all rpc related in the /etc/inetd.conf. did a restart on the inetd and even reboot. but once i rpcinfo -p it is still not disable .

Could someone guide me?
Thanks.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: how to disable rpc

Shalom,

RPC is part of NFS.

There are three daemons involved here but turning them all off is likely to cause problems.

nfs.core
nfs.server
nfs.client

/etc/rec.config.d/namesvr
Control file for which services activate at boot.

automounter and autofs require these services.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Quek Shu Wen
Occasional Advisor

Re: how to disable rpc

Thanks i have disable all the startup script on nfs and nis. now my rpc is finally disable.

Thanks
skt_skt
Honored Contributor

Re: how to disable rpc

check this startup script
/sbin/init.d/Rpcd