NFS time based access restrictions

Darryl Moore darryl-90a536wCiRb3fQ9qLvQP4Q at public.gmane.org
Fri Feb 26 14:12:54 UTC 2010


Hi guys.

I am needing to place time based access restrictions on NFS mounts. I
figured I would just create a cron job on the server. Change the
/etc/exports file and restart the server when the access restrictions
need to take effect.

Unfortunately it is only one exported directory that I need to disable,
while all the other mounts from the same server still need to be accessible.

Does any one have thoughts about whether this is the best way to do this
or not? The other alternative I guess is to put the cron job on the
various clients and have them umount the NFS directory. Of course I
might run into issues if there are files open. Then the umount could fail.

The NFS exports are read only.

I'd love to hear anybody elses opinions if you want to offer it.

Thanks,
darryl
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list