I recently found this home networking tutorial surprisingly enlightening. However, there is one thing I don't understand:
Disabling NFS Start On Boot: If you are not planning on regularly accessing files via NFS, you should not leave the NFS server running and vulnerable to outside attacks. The startup scripts for NFS are in the /etc/rc* directories and you should rename them with the K prefix instead of the S prefix so they do not start at boot time:
the tutorial then gives the following command:
sudo rename s/S/K/ /etc/rc*/*nfs*
I have never really understood the way /etc/rc*/ works. But I assume there are certain directories in which the
service servicename start scripts are always run, right? That's just a guess.
So, in this case, why does renaming these have an effect? How does the naming of directories affect this particular instance? What does that rename command actually do? Why does the new directory name ensure that NFS is not started at boot time?