1833030 Members
2314 Online
110049 Solutions
New Discussion

Re: Stopping RPC

 
SOLVED
Go to solution
Richard Ace
Frequent Advisor

Stopping RPC

I have been asked from a security perspective to stop the RPC Daemon.

Does anyone know what the consequence of this would be.

What hangs off it.

Any Ideas would be appreciated

Cheers

Rich
7 REPLIES 7
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Stopping RPC

Hi Rich,

RPC (remote procedure calls) is used by quite a few services on the system. Some of them are in /etc/inetd.conf and are mostly commented out. The rpcd|dced daemon is used by tools like openview, omniback, measureware|perfview softwares. So, look at the documentation of your additional softwares for their dependencies on dced|rpcd.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Mark Grant
Honored Contributor

Re: Stopping RPC

I don't think you want to do this unless you don't use much in the way of network services and don't run applications like openview.
Never preceed any demonstration with anything more predictive than "watch this"
Jeff Schussele
Honored Contributor

Re: Stopping RPC

Hi Rich,

NFS would be the major user of RPC.
Can stop it with
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.core stop

Then edit /etc/rc.config.d/nfsconf & set
NFS_SERVER=0
NFS_CLIENT=0
AUTOMOUNT=0
START_MOUNTD=0
AUTOFS=0

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Richard Ace
Frequent Advisor

Re: Stopping RPC



Cheers

How do i add points ?

where is the option

Cheers for that
Uday_S_Ankolekar
Honored Contributor

Re: Stopping RPC

rpc process used mostly by NFS and rpcd daemon used by openview.
If you don't need these then you can stop this by
/sbin/init.d/nfs client stop
/sbin/init.d/nfs server stop
also change flag to 0 in this file.
/etc/rconfig.d/nfsconf

you can stopopenview rpcd by
/sbin/init.d/Rpcd stop
and change flag to 0
in /etc/rc.config.d/Rcpd file

-USA..
Good Luck..
A. Clay Stephenson
Acclaimed Contributor

Re: Stopping RPC

A really good idea is to ask the box itself what remote procedure calls are in play. Do an rpcinfo -p. Man rpcinfo for details.
If it ain't broke, I can fix that.
Tim D Fulford
Honored Contributor

Re: Stopping RPC

Clay
... thanks, I forgot that command (that is why I was looking at this thread!!)

Rich
To assign points login in as yourself & then go to this thread. There should be dropdown menus for each reply (except yours) select the appropriate points then at the bottom is a submit button.

Regards

Tim
-