Operating System - Linux
1821982 Members
4101 Online
109638 Solutions
New Discussion юеВ

How do I disable RPC llockmgr and nlockmgr

 
David Connolly
Regular Advisor

How do I disable RPC llockmgr and nlockmgr

Does any know how to do this? My security consultants informed me that having these services running represented a vulnerability. I do not require NFS on the system.
2 REPLIES 2
Ionut Grigorescu_2
Super Advisor

Re: How do I disable RPC llockmgr and nlockmgr

Hi,

if yo do not intend to use NFS or YP/NIS you can disable rpc anytime by:

#/etc/rc.d/init.d/portmap stop

Have a lot of fun...
If it weren't for STRESS I'd have no energy at all
md wills
Occasional Contributor

Re: How do I disable RPC llockmgr and nlockmgr

Kinda late on this thread. Under RH and others you can use the following syntax.

bash>chkconfig portmap off
bash>chkconfig nfs off
bash>chkconfig nfslock off

This will prevent the services from restarting on a system reboot.