Here’s a practical example of configuring a new isolated user in TrueNAS Core, along with their pool, dataset, and share. Let's call the new user "john_doe."
AI Generated Practical Example
Step |
Description |
Action |
1 |
Log In to TrueNAS Web Interface |
Open a web browser and enter the IP address of your
TrueNAS server. Log in with your admin credentials (e.g., username: admin, password: password). |
2 |
Create a New User |
Navigate to Accounts > Users and click Add. Details: Username: john_doe Full Name: John Doe Password: StrongPassword123 Ensure the checkbox for "Create User's Home
Directory" is checked, and leave other settings as default. Click Save. |
3 |
Create a New Pool |
Go to Storage > Pools and click Add. Select: Create new pool. Pool Name: pool_john_doe Select available disks (e.g., da0 and da1). Click Next → Confirm → Create. |
4 |
Create a New Dataset |
Click on the new pool pool_john_doe. Click Add Dataset. Details: Name: dataset_john_doe Set any other necessary options (e.g., Compression) but
keep default settings if unsure. Click Save. |
5 |
Set Permissions on Dataset |
Select the new dataset dataset_john_doe and click on Edit
Permissions. Details: Owner User: john_doe Owner Group: john_doe (create a group with
the same name if it doesn’t exist) Permissions: Set to Read/Write for john_doe, and remove
permissions for "Everyone" and other groups/users. Click Save. |
6 |
Create a New Share |
Navigate to Sharing > Windows Shares (SMB) and click Add. Select: Path: Browse and select dataset_john_doe Name: johns_share Description: (Optional) "John Doe's Private
Share" Click Save. |
7 |
Configure Share Permissions |
In the share settings for johns_share, ensure john_doe is the only user with
access. Make sure that other user accounts do not have access to this share. Check permissions and save if adjustments are needed. |
8 |
Test the Configuration |
Log out of the TrueNAS web interface and log in using a
new session as john_doe. Verify access to johns_share and confirm that no
other users can see or access the share. |
9 |
Document Configuration |
Record the settings for john_doe: User: john_doe Pool: pool_john_doe Dataset: dataset_john_doe Share: johns_share Include any password-related information securely. |
This walk-through
provides a clear sequence of actions to create an isolated user, their own
pool, dataset, and share in TrueNAS Core. It ensures that john_doe has
restricted access while existing configurations remain unchanged.
No comments:
Post a Comment