SUMMARY: Disabling NFS

From: Cenon B.C. Marana Jr. <bonn_at_durian.usc.edu.ph>
Date: Wed, 3 Jul 1996 06:02:19 +0800 (HKT)

Thanks to the following people for their suggestions:

Michael Matthews <matthewm_at_sgate.com>
Mariano Goluboff <goluboff_at_cuhep.Colorado.EDU>
GLADNEY_at_stsci.edu
Lynn Blankenship <lblank_at_chakotay.au.af.mil>
Louis Soto <lsoto_at_totaltec.com>
Henry A. Flogel (Hal) <a08803_at_wpl.com>
John Schaeffer <jsch_at_conncoll.edu>
Dave Parker <djp_at_unx.dec.com>
Andrew C. Saylor <asaylor_at_alpha.comsource.net>
Richard A. Muirden <richard_at_rmit.EDU.AU>
Christophe DIARRA <diarra_at_ipno.in2p3.fr>
Daniel Yang <dyang_at_buckeye.cb.lucent.com>
Javier Aida <jaida_at_gmd.com.pe>
Marc Heinzmann <heinzman_at_informatik.tu-muenchen.de>
chandrasek_at_odixie.enet.dec.com <chandrasek_at_odixie.ENET.dec.com>

My original question:

> I would like to inquire how to disable the NFS daemon from loading upon
>bootup.

As the saying goes, there indeed are different ways to kill a chicken! :)

>From the answers I received, there are around 7 ways to disable NFS
daemon from loading upon bootup, namely:


A.) Edit entry at the /etc/rc.config file by changing NFSSERVING to 0
    Edit entry at the /etc/rc.config file by changing NFS_CONFIGURED to 0

B.) Execute the command as root:

         rcmgr set NFSSERVING 0
         rcmgr set NFS_CONFIGURED 0

C.) Renaming /sbin/rc3.d/nfs and /sbin/rc3.d/nfsmount into something else.

D.) Edit your /etc/rpc file and disable the pcnfsd.

E.) Remove the link S19nfs and S20nfsmount links from /sbin/rc3.d.

F.) Adding an "exit 0" line on the very beginning of the /sbin/rc3.d/S19nfs
    and /sbin/rc3.d/S19nfsmount file.


But I can say that the best way is executing the nfssetup (for earlier
2.0b ->3.2x) or nfsconfig (Digital Unix V4.0) utility and choose not
be an NFS server (for it disables nfs daemon and its currently running
nfsiod).

Bonn
:)
Received on Wed Jul 03 1996 - 00:13:41 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT