Export (0) Print
Expand All

Allowing anonymous access to an NFS share

Applies To: Windows Server 2003 R2

To allow anonymous access to an NFS share using the Windows interface
  1. Open Windows Explorer: click Start, point to Programs or All Programs, point to Accessories, and then click Windows Explorer.

  2. In the details pane, right-click the shared directory you want to manage.

  3. Click Sharing.

  4. Click NFS Sharing.

  5. Select Allow anonymous access.

  6. To specify a nondefault value for the anonymous user identifier (UID) or anonymous group identifier (GID), type the value in the Anonymous UID or Anonymous GID box.

  7. Click Apply.

    noteNote
    The anonymous UID and anonymous GID values for a share will be used when reporting the owner of a file owned by an unmapped user, even if Allow Anonymous Access is disabled.

    In Windows Server 2003 operating systems, the Everyone group does not include anonymous users by default. For information about providing anonymous access, see Allowing anonymous access to resources by NFS clients.

To allow anonymous access to an NFS share using the command line
  1. Open the command prompt.

  2. At the command prompt, type:

    nfsshare -ooption=value...sharename

     

    Argument Description

    sharename

    The name of the shared directory.

    -o

    Specifies one or more options to be set and must be set to at least one of the following:

    anon={yes | no}

    Specifies whether anonymous (unmapped) users can access the shared directory. The default is no.

    anonuid= uid

    Specifies that anonymous (unmapped) users will access the share directory using uid as their user identifier (UID). The default is -2. The anonymous UID will be used when reporting the owner of a file owned by an unmapped user, even if anonymous access is disabled.

    anongid= gid

    Specifies that anonymous (unmapped) users will access the share directory using gid as their group identifier (GID). The default is -2. The anonymous GID will be used when reporting the owner of a file owned by an unmapped user, even if anonymous access is disabled.

    noteNote
    To view the complete syntax for this command, at a command prompt, type: nfsshare /?

    In Windows Server 2003 operating systems, the Everyone group does not include anonymous users by default. For information about providing anonymous access, see Allowing anonymous access to resources by NFS clients.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft