Solved

disabling NFS in Solaris 8

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now