• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 694
  • Last Modified:

disabling NFS in Solaris 8

I've looked in rc.conf, inetd.conf and cannot find anywhere to comment the NFS service.  We need NFS disabled on our Solaris 8 box (sparc).  Anyone know how?

thanks
0
dissolved
Asked:
dissolved
1 Solution
 
JulieBouillonCommented:
You have to know your default run level. I you don't know, just issue
# grep initdefault /etc/inittab
is:3:initdefault:
In this case the default run level is 3

Go to /etc/rc<default run level>d (eg. /etc/rc3.d)
Do a ls and you should see a file named like S<number>nfs.server (eg. S15nfs.server). Delete this file and voilĂ , NFS won't be restarted the next time you boot your server.

To stop the currently running NFS Server, issue
# /etc/init.d/nfs.server stop
0
 
dissolvedAuthor Commented:
thanks,
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now