Solved

disabling NFS in Solaris 8

Posted on 2006-06-15
2
685 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
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
netstat -a in AIX unix 8 51
Shell script errors 10 143
Remote Change Dates on AIX Automation 7 72
need to remove or skip  grub protection password in ubuntu on boot time 2 83
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

685 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