Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

For use as NAS, VM and SSH access, what additional users should I create?

Featured Replies

I have just setup UnRAID 7.3.4 on my UGREN NAS. I am intending to use the system for storage, VMs and with SSH access.

What additional users should I create? At the moment I ssh in as root but I guess that is not ideal...

Also, are there other users I should set up now (e.g. for storage/share access, etc)?

Thanks a lot for any pointers!

Solved by Frank1940

You only need users for SMB (File access) if you want to restrict access to different shares.

If there are no differences, one user for all is sufficient.

SMB can also be run as "public share", with access for everybody, but this is not really advisaberable.

So usually you create users for "pop", "mom" and "kids" and grant read or read/write access for each share to them.

Don't use "guest" or "root", these names will not work for SMB!

VMs create and manange their own users,

SSH access should not be granted for anybody else but root if at all.

(UNRAID runs within RAM only, it makes no sense to create "Homedirectories" or something, these all will be gone again after a reboot)

  • Author

Thanks heaps for this! (I tried to add a like to your answer, but got a message that "there was a problem...")

Your advise makes sense.

Just to confirm: If I want access to the machine via ssh, i should do this always through root, right?

  • Solution
4 minutes ago, halloleo said:

Just to confirm: If I want access to the machine via ssh, i should do this always through root, right?

Right. Unraid is designed to have a single user having Administrative privileges. The user is hard coded as 'root'. Remember Unraid started out being designed as a home NAS solution back in the age when security issues were not as big a problem as today. Virtually all of the Unraid installs are still in a home or a home office environment. (In fact, it not promoted as a business solution.) As a result, it has no provision to setup multiple Administrative users.

Why are you concerned about having multiple administrative users with SSH access? Please don't say that you want to expose your Unraid server directly to the Internet as that is a terrible idea as Unraid is not harden for that situation!

Edited by Frank1940

46 minutes ago, halloleo said:

Just to confirm: If I want access to the machine via ssh, i should do this always through root, right?

yeah, "root" is the one and only admin user on UNRAID (as @Frank1940 has already told you).

But the UNRAID shell accessed by ssh is quite complicated and helpless (lol, I mean "without help" :-) )

So usually it is much better and more easy to use the GUI instead of ssh-ing to UNRAID.

But if you are one of that masochistic type... :-)

  • Author
10 hours ago, Frank1940 said:

Right. Unraid is designed to have a single user having Administrative privileges. The user is hard coded as 'root'.

Good explanation. thanks.

10 hours ago, Frank1940 said:

Why are you concerned about having multiple administrative users with SSH access?

Just thought of it as a good practice to having a 2nd account with less power from which I than can elevate for things I do need to do as root.

10 hours ago, Frank1940 said:

Please don't say that you want to expose your Unraid server directly to the Internet as that is a terrible idea as Unraid is not harden for that situation!

No, no, not at all. I is just a home server. ) But I hope there is a way to access it from the outside via VPN/Tailscale or similar...

11 minutes ago, halloleo said:

access it from the outside via VPN/Tailscale

Wireguard is built-in, and there is a Tailscale plugin.

2 minutes ago, halloleo said:

But I hope there is a way to access it from the outside via VPN/Tailscale or similar...

Absolutely. See here for the Instructions to set up Tailscale:

https://docs.unraid.net/unraid-os/system-administration/secure-your-server/tailscale/

I would make any shares that you share via Tailscale Private with a secure password. (I actually have a specific user set up for access via Tailscale so that I grant no more file access privileges then is required by the user– for example, read-only if that is all the access that the user needs. If there are shares that the Tailscale user does not required, the share is set to 'No access' for that user! While Tailscale is secure today, I am paranoid enough to believe that there may come a time when someone finds a way to hack it.)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.