1752679 Members
5354 Online
108789 Solutions
New Discussion юеВ

/etc/exports

 
Waugh
Frequent Advisor

/etc/exports

Hi,

On ignite sever, /etc/exports file is there
/var/opt/ignite/recovery/archives/rock1 -anon=2,access=rock1
my ? is what is the meaning of -anon=2

Regards
Rkumar
8 REPLIES 8
Shoghi Martinez G.
Honored Contributor

Re: /etc/exports

From HP-UX export help:
anon=uid If a request comes from an unknown user, use uid as the effective user ID. Note: Root users (uid 0) are always
considered ``unknown'' by the NFS server unless they
are included in the root option below.

The default value for this option is -2. Setting anon
to -1 disables anonymous access.
Dennis Handly
Acclaimed Contributor

Re: /etc/exports

>what is the meaning of -anon=2?

All anonymous users, including root and some windows users are changed to 2, bin.
Avinash20
Honored Contributor

Re: /etc/exports

anon=-2 means that anonymous rw access to the exported filesystem is allowed.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
sujit kumar singh
Honored Contributor

Re: /etc/exports

It means that for an unknown user assign the UID 2 that is for the system user "bin".

Also the fact is that we have to prperly give the ownerships properly to the directories and all the subdirectories to bin:bin for the directories
/var/opt/ignite/clients and /var/opt/ignite/recovery/arhives.


Sujit
sujit kumar singh
Honored Contributor

Re: /etc/exports

needless to mention is is for any anonymous user trying to access the NFS subsystem on the Ignite server.
Dennis Handly
Acclaimed Contributor

Re: /etc/exports

>Sujit: it is for any anonymous user trying to access the NFS subsystem on the Ignite server.

As discussed with Dave before, the only anonymous users are root and some windows logons:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1294612
sujit kumar singh
Honored Contributor

Re: /etc/exports

Dennis,


Thanks for the point that u made . I also went thru the post that u have linked in there.

I was surely making a mistake.


Thanks again.

sujit
Dennis Handly
Acclaimed Contributor

Re: /etc/exports

>sujit: I was surely making a mistake.

The same one I made. I had to test it myself.