Following is the summary of replies I got to my
posting about NFS accounting.
Thanks to:
-Glenn Satchell glenn@uniq.com.au
-Bismark Espinoza bismark@alta.jpl.nasa.gov
:)
----
There are two ways to control access to NFS. Firstly, you can set a
list or group of machines in the exports list so tha tonly those
machines can mount directories. This is set on a per filesystem basis,
so you can have a different access list for each mount point. Secondly
through setting the unix permissions so that unauthorised users can not
access any directories, even if they succeed in mounting them from step
one.
-----
If you want to restrict usage, edit the
file netgroup. In it, you can specify
NIS-domains, machines, and users, that
will be allowed to mount NFS filesystems.
In the file /etc/exports of your server,
use the mount options to deny/restict usage.
The netgroup file may be used as an /etc map
or as an NIS map transferred by ypserv, ypxfrd.
------
+-----------------------------+-----------------------------------------+
|Daniel Trejo-Medina | Coordinacion de Servicios de Computo |
|dantm@condor.dgsca.unam.mx | DGSCA-UNAM |
+-----------------------------+-----------------------------------------+
| http://condor.dgsca.unam.mx:2500/grupo/daniel.html |
+-----------------------------------------------------------------------+
| Free at last, they took your life, But they could not take your pride.|
+-----------------------------------------------------------------------+
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:10 CDT