?
Solved

disabling NFS in Solaris 8

Posted on 2006-06-15
2
Medium Priority
?
693 Views
Last Modified: 2013-12-27
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
Comment
Question by:dissolved
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
JulieBouillon earned 100 total points
ID: 16913872
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
 

Author Comment

by:dissolved
ID: 16916568
thanks,
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question