![TrueNAS users and groups](https://i0.wp.com/serverdecode.com/wp-content/uploads/2023/03/truenas-user-groups-hero.webp?fit=827%2C514&quality=78&strip=all&ssl=1)
On TrueNAS, before settings a folder share, you have to create new users and groups for anyone who will be accessing the resources from a remote system using Windows 11, 10, macOS, or Linux, and in this guide, you will learn the steps to complete this task.
Although it’s not a requirement, you’re encouraged to create users and assign them to groups since the process allows administrators to configure permissions and share files more efficiently. Usually, you want to create a user account for each person who will be accessing the server, and a user group will help you to group users depending on their requirements. For example, instead of assigning users individually to the share, you can assign only the group containing the users that need access to the resource.
This guide will teach you the basic steps to create new users and groups on a TrueNAS server.
Create new user on TrueNAS
To create a new user on TrueNAS, use these steps:
-
Open TrueNAS (web).
-
Click on Accounts from the left pane.
-
Click on Users.
-
Click the Add button from the top-right corner.
-
Confirm the user information, such as name and username.
-
Create and repeat a password for the account.
-
(Optional) Clear the “New Primary Group” option if you want the user to be part of a specific group.
-
Choose the group from the “Primary Group” setting.
-
Click the Submit button.
Once you complete the steps, the new user will be created in the TrueNAS system. Unless you have to use specific settings, you don’t need to configure the other settings.
Create new group on TrueNAS
To create a new group on TrueNAS, use these steps:
-
Open TrueNAS (web).
-
Click on Accounts from the left pane.
-
Click on Groups.
-
Click the Add button from the top-right corner.
-
Confirm a descriptive name for the group.
-
Click the Submit button.
After you complete the steps, the TrueNAS system will create the group and make it available to include new users.
If you want to add a user to the new group, then select the group, click on “Members,” select the users and click the “Add” button, and click the “Save” button.
When choosing a name for the group, choose something that describes the users or data that users will be accessing. For instance, you can use the department name, such as accounting, marketing, purchasing, editors, etc.
The “Group Configuration” page also includes a couple of other settings, including the ability to allow duplicate group IDs and sudo access, but these settings are not usually necessary.