Local Groups
2 minute read.
Last Modified 2022-06-07 09:25 EDTTrueNAS offers groups as an efficient way to manage permissions for many similar user accounts. See Users for managing users. The interface lets you manage UNIX-style groups. If the network uses a directory service, import the existing account information using the instructions in Active Directory.
To see saved groups, go to Credentials > Local Groups.
By default, TruNAS hides the system’s built-in groups. To see built-in groups, click settings then click Show.
To create a group, go to Credentials > Local Groups and click Add.
Setting | Description |
---|---|
GID | The Group ID (GID) is a unique number TrueNAS uses to identify a Unix group. Enter a number above 1000 for a group with user accounts (you cannot change the GID later). If a system service uses a group, the group ID must match the service’s default port number. |
Name | Group name cannot begin with a hyphen (-) . Group name cannot contain a space, tab, or any of these characters: , : + & # % ^ ( ) ! @ ~ * ? < > = . You may only use $ as a username’s last character. |
Permit Sudo | Allow group members to use sudo. TrueNAS prompts group members for their password when using sudo. Leave Permit Sudo disabled for better security. |
Samba Authentication | Set to let Samba permissions and authentication use group. |
Allow Duplicate GIDs | Allows more than one group to have the same group ID. We do not recommend enabling this. |
Register user accounts to a group to simplify permissions and access to large numbers of user accounts. To manage group membership, go to Credentials > Local Groups, expand the group entry, and click group Members:
To add user accounts to the group, select them in All users and click . Select multiple users by holding CTRL while clicking each entry.