NFS time based access restrictions

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Feb 26 20:07:17 UTC 2010


On Fri, Feb 26, 2010 at 09:12:54AM -0500, Darryl Moore wrote:
> 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.

I guess the obvious question is: Why do you want to do this?

Quite likely if we knew that we could give you a sensible solution that
might actually work reliably.

-- 
Len Sorensen
--
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