This procedure shows how to use the
zfs command to enable guest access, but you can also use the
share command for other file system types. See the
share(8) man page.
- Become an administrator.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
- Enable guest access for a specified share.
$ zfs create -o mountpoint=/eng pool/eng $ zfs share -o share.smb=on -o share.smb.guestok=on pool/eng%eshare
Example 3-8 Enabling Guest Access to an SMB Share
The following example uses the
zfs command to enable guest access for the
$ zfs share -o share.smb=on -o share.smb.guestok=on tank/home%myshare