Command
weka smb share lists add
Use the following command line to add users to a share user-list:
weka smb share lists add <share-id> <user-list-type> <--users users>...
Parameters
Name | Type | Value | Limitations | Mandatory | Default |
---|---|---|---|---|---|
share-id | Number | The ID of the share to be updated | Must be a valid share ID | Yes | |
user-list-type | String | The type of permissions list for users |
read_only - list of users that will not be given write access to the share, regardless of the read-only setting. read_write - list of users that will be given write access to the share, regardless of the read-only setting. valid - list of users that are allowed to log-in to this share SMB service (empty list - all users are allowed) invalid - list of users that are not allowed to log-in to this share SMB service |
Yes | |
users | A comma-separated list of strings | A list of users to add to the user-list-type list. Can use the @ notation to allow groups of users, for example root, Jack, @domain\admins | Up to 8 users/groups for all lists combined per share | Yes |