In this article, I looked at enabling SMB and AFP shares via the command line for macOS: Setup the File Sharing Service in macOS 10.13, High Sierra One thing I din’t cover is enabling SMB sharing for a specific user. This is different as passwords need to be stored in an SMB hash. And you can set that hash type with the pwpolicy command. So to do so, we’ll run the command with the -u option so we can supply the username, the -sethashtypes followed by SMB-NT as the hashtype followed by “on” as can be seen here: pwpolicy -u charles.edge -sethashtypes SMB-NT on The interpreter then asks for a…