NFS was not designed with security in mind, and has a number of
weaknesses, both in terms of the protocol itself and because any NFS
installation must expose several daemons, running on both servers and
clients, to network attack. I use my CentOS based server only to server
web pages and nothing else. How do I disable NFS services under RHEL /
CentOS / Fedora Linux?
You
can easily disable NFS, which is a commonly used for sharing data and
files between machines. However, its use opens many potential security
holes. If NFS is not needed, improve the security by removing and
disabling NFS. Open a command-line terminal (select Applications >
Accessories > Terminal), and then type:
Delete nfs-utils and portmap packages using the yum command:
# chkconfig nfslock off
# chkconfig rpcgssd off
# chkconfig rpcidmapd off
# chkconfig portmap off
# chkconfig nfs off
Delete nfs-utils and portmap packages using the yum command:
# yum remove portmap nfs-utils
0 comments:
Post a Comment