How to Share and Mount Files With Diffie-Hellman Authentication
Prerequisite
The Diffie-Hellman publickey authentication must
be enabled on the network. See "How to Set Up NIS+ Credentials for Diffie-Hellman Authentication" and "How to Set Up NIS Credentials With Diffie-Hellman Authentication".
To share a file system with Diffie-Hellman authentication:
-
Become superuser.
-
Share the file system with Diffie-Hellman authentication.
# share -F nfs -o sec=dh /filesystem
|
To mount a file system with Diffie-Hellman authentication:
-
Become superuser.
-
Mount the file system with Diffie-Hellman authentication.
# mount -F nfs -o sec=dh server:resource mountpoint
|
The -o sec=dh option mounts the file system with AUTH_DH authentication.