NFS time based access restrictions

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Mar 1 18:30:51 UTC 2010


On Fri, Feb 26, 2010 at 03:38:49PM -0500, Mike Kallies wrote:
> I think you can do
> 
>    exportfs -u /path/to/no/longer/export
> 
> and it will stop exporting the path, even though it's in /etc/exports
> 
> Then I think if you do a
> 
>    exportfs -a
> 
> it will reload the /etc/exports and re-export anything which was
> previously unexported.
> 
> I don't have an NFS environment handy to try it out... so I'm not 100%.
> 
> I think this is a better solution than messing with permissions or
> group memberships, because once authenticated, the group memberships
> stay the same until the user logs back in.

No change the file permissions, not the group membership of the user.

Changing nfs exports is not nice to the client machine.  Changing
permissions is perfectly normal operation and causes no harm at all.

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