Difference between revisions of "Users and Groups"
Line 1: | Line 1: | ||
= Introduction= | = Introduction= | ||
− | Some, though not all, of the tips for setting up users and groups. | + | Some, though not all, of the tips here are for setting up users and groups. |
+ | |||
+ | The tool of choice is smbldap. | ||
+ | |||
+ | = Usage = | ||
+ | |||
+ | * To create a new group | ||
+ | smbldap-groupadd -a <newgrpname> | ||
* To add users to a certain group (note that this seems to take some time to propagate, as well as only working on fresh logins) | * To add users to a certain group (note that this seems to take some time to propagate, as well as only working on fresh logins) | ||
smbldap-groupmod -m <list,of,users> <targetgroup> | smbldap-groupmod -m <list,of,users> <targetgroup> |
Revision as of 10:43, 9 December 2016
Introduction
Some, though not all, of the tips here are for setting up users and groups.
The tool of choice is smbldap.
Usage
- To create a new group
smbldap-groupadd -a <newgrpname>
- To add users to a certain group (note that this seems to take some time to propagate, as well as only working on fresh logins)
smbldap-groupmod -m <list,of,users> <targetgroup>