[SunHELP] nfs share to specifik ip or hostname

Jim Pennino jimp at specsol.com
Thu Nov 21 09:14:16 CST 2002


On Thu, Nov 21, 2002 at 03:23:09PM +0100, Simon Jespersen wrote:
> Hi!
> 
> I want to create a nfs share on one sol8 server, the share should only be
> able to be mounded by a specifik IP or hostname. Could that be done in
> dfstab ?
> 
> Kind regards
> Simon Jespersen
> Project engineer
> Pine Tree Systems A/S
> Damhaven 5d
> DK-7100 Vejle
> Email: shj at pine.dk
> Phone: +4575724477
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp

Yes.

>From man share:

    rw=client[ :client]...
           pathname is  shared  read/write  only  to  the  listed
           clients. No other systems can access pathname.

As in:
share -F nfs -o rw=system.foo.com /mount-to-share

Note if you want to allow root access; rw=system.foo.com,root=system.foo.com

-- 
Jim Pennino



More information about the SunHELP mailing list