Solved

disabling NFS in Solaris 8

Posted on 2006-06-15
2
687 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 25 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux : can't create transaction lock error 1 93
can't umount nfs share after server goes offline... 4 102
AIX 5.x set up arrow to recall 11 71
Problem logging tar errors 11 74
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

732 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