Oracle Solaris Networking (MOSC)

MOSC Banner

Sol11 what is the syntax to share nfs to a netgroup and also anon=0 to one host?

On Solaris 11.4 sparc - exporting/sharing a filesystem,

1) I entered a nfs share command. I want root to have root power in my_home on the local box and on host1.

2) I have tried several versions of anon=0 which works but it shares it out as anon=0 to all machines in the netgroups listed and I only want host1 to have anon=0 permissions.

1. share -F nfs -o rw="netgrp1":"netgrp2":root=host1 -d "my home" /homes/my_home
  (yields no root access on host1 to my_home)

2. share -F nfs -o rw="netgrp1":"netgrp2":host1,anon=0 -d "my home" /homes/my_home

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center