How to add groups to the TrueNAS SCALE Network Attached Storage solution

Jack Wallen walks you thru the technique of including groups and assigning them to information units in TrueNAS SCALE.

server rack with fiber optic cables attached to front panel switch ports
Image: xiaoliangge/Adobe Stock

TrueNAS SCALE is a good Network Attached Storage platform that might simply serve nearly any want for the residence and residential workplace in addition to small companies and enterprise firms. It’s strong, versatile, dependable, free and open-source.

I’ve already coated how to take your first steps with TrueNAS SCALE, which included creating your first Pool, person and Share. This time round, I’m going to present you ways to add and use groups, to make your TrueNAS SCALE admin life a bit simpler.

If you come from a Linux or UNIX background, you totally perceive how groups could make issues significantly extra environment friendly. By using groups, you have got higher management over permissions of directories and information with out having to handle them on a per-user foundation. Instead, you create a gaggle, assign the precise permissions and possession you want, after which add customers to the group. The identical concept holds with utilizing groups on a NAS platform reminiscent of TrueNAS SCALE.

SEE: 40+ open supply and Linux phrases you want to know (TechRepublic Premium)

Let’s stroll by way of the course of of making a gaggle and assigning. It’s a bit complicated, because it’s all dealt with by way of Access Control Lists, however I’m going to reduce to the chase and present you ways simple it may be.

What you’ll want

The solely belongings you’ll want to make this work are a working occasion of TrueNAS SCALE and the root person credentials to log into the GUI.

How to create a gaggle

The very first thing we’re going to do is create a gaggle. Log into your TrueNAS SCALE occasion as the root person and click on Credentials in the left navigation. In the ensuing pop-out menu (Figure A), click on Local Groups.

Figure A

The Credentials pop-out menu in TrueNAS SCALE.

In the ensuing window (Figure B), click on Add in the higher proper nook.

Figure B

The TrueNAS SCALE group itemizing window.

In the subsequent pop-out window (Figure C), give the group a reputation and click on Samba Authentication if you happen to plan on utilizing groups in Samba shares.

Figure C

Naming and configuring your new group.

Once you’ve completed, click on Save and also you’re prepared to transfer on.

How to add a person to a gaggle

The subsequent step is to add a person to the new group. Go again to Credentials and click on Users. Locate and click on the person you need to edit and, in the pop-up (Figure D), click on Edit.

Figure D

Details for an area TrueNAS person.

In the person edit window (Figure E), add the new group from the Auxiliary Groups drop-down.

Figure E

Adding the person to the newly created group.

Scroll down and click on Save when completed.

How to add a gaggle to a knowledge set

I’m going to assume you’ve not solely created a pool however a knowledge set. It is inside the information set you can then assign native groups. Let me present you ways.

Go to Storage after which increase your entries till you see the information set in query. Click the three-dot menu for that information set and click on View Permissions after which click on the pencil icon (Figure F).

Figure F

The present permissions of our information set.

Because this can be a information set, it ought to have already got fundamental ACLs assigned so that you don’t have to add them manually. In the ensuing window (Figure G), it is best to see Owner Group close to the prime. If you choose the drop-down you gained’t discover your native groups listed — it solely lists the built-in groups.

Figure G

The ACL choices for our information set.

Here’s the trick: Instead of choosing the group from the drop-down, sort the title of the native group you simply created. Once you’ve executed that, click on Save Access Control List.

At this level, any member of that group ought to have entry to the information share. And that’s all there may be to it. Create as many groups as you want, assign customers to these groups after which add the groups, as wanted, to your information units.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the newest tech recommendation for enterprise professionals from Jack Wallen.


Leave a Reply

Your email address will not be published.Required fields are marked *