Operating System - HP-UX
1837921 Members
5249 Online
110124 Solutions
New Discussion

Re: lockd and statd are related to nfs server or nfs client?

 
Senthil Prabu.S_1
Trusted Contributor

lockd and statd are related to nfs server or nfs client?

Hi Admins,
I need to harden my unix machine, so that unnecessary ports are to be closed. But, my machine needs to act as nfs server, so i am disabling nfs client. And enabling only nfs server. So here my doubt is whether what are the processes should be enabled.

portmap
mountd,
nfsd
statd,
lockd, and
rquotad

I prefer to enable nfsd,rquotad and mountd. Close the portmap. Can anyone suggest whether what I am doing is correct?. And suggest whether statd and lockd are really needed by nfs server.


Advanced Thanks,
Prabu.S

One man's "magic" is another man's engineering. "Supernatural" is a null word.
5 REPLIES 5
RAC_1
Honored Contributor

Re: lockd and statd are related to nfs server or nfs client?

What version of NFS? till version 3, you could not define certains ports for portmapper and nfs. With NFS 4, you can.

I think, you can not disable, portmapper.
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: lockd and statd are related to nfs server or nfs client?

Hi Senthil,

You can't disable portmap when using NFS and (or) NIS. If you want to harden your system, you can use Bastile for HP-UX. Here is a great tutorial on that,

http://www.windowsecurity.com/whitepaper/Building_a_Bastion_Host_Using_HPUX_11.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Senthil Prabu.S_1
Trusted Contributor

Re: lockd and statd are related to nfs server or nfs client?

Hi,

RAC, I am using version 4.

Arun, unfortunarely I have to do it on solaris.
Please do give specific info for solaris.

Basicall, my hardening is done by disabling the rc scripts /etc/rc0.d/K41nfs.client

Thanks,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Arunvijai_4
Honored Contributor

Re: lockd and statd are related to nfs server or nfs client?

Senthil Prabu.S_1
Trusted Contributor

Re: lockd and statd are related to nfs server or nfs client?

Hi Arun,
Thanks for the links. Basically, we have customized the JASS tool to do this.
One man's "magic" is another man's engineering. "Supernatural" is a null word.