Languages

OS X Server: Allowing administrators to access all volumes and shared folders over SMB

With Lion Server or OS X server (Mountain Lion), administrators can access shared folders over SMB, as well as any volumes mounted locally on the server.

To allow administrators access to all volumes including the SMB shared folders, execute this Terminal command on the server:

sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server VirtualAdminShares -bool YES


To limit administrators to accessing only the SMB shared folders, execute this Terminal command on the server:

sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server VirtualAdminShares -bool NO

Restart the server after running the command. If rebooting the server is not convenient, you can un-share a currently shared folder and then re-share it, or share some other folder and then un-share it.

Last Modified: Jul 26, 2012
Helpful?
Yes
No
  • Last Modified: Jul 26, 2012
  • Article: HT5038
  • Views:

    2868
  • Rating:
    • 100.0

    (1 Responses)

Additional Product Support Information

Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked