brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: root cannot open Unraid shares over SMB, so create a share user

Unraid
~/tips/tip-unraid-root-no-smb-share-user

smb://192.168.1.x/media

Explains why root cannot open Unraid shares over SMB and that a separate share user is needed.

If a Windows PC or a Mac keeps refusing your root password for an Unraid share, the password is fine. root is simply not allowed to use shares over the network.

The Unraid user management docs say root has full access to the WebGUI, SSH and Telnet, but cannot access file shares directly through SMB, NFS or FTP. For shares you create separate share users under Users, Shares Access.

A share user is the opposite. It can reach shares over SMB, NFS or FTP (if enabled) and has no WebGUI, SSH or Telnet access. So a password that leaks from a family laptop never gives anyone a login on the server itself.

When you add a user, the docs ask for a unique name, preferably lowercase letters and under 30 characters because of Windows limits. A password is required, and a description and a PNG avatar are optional. Which shares the user can reach is set per share afterwards.

Then connect with that user:

smb://192.168.1.x/media

Here media stands for one of your shares. Two things to remember: the user name cannot be changed once the account exists, and deleting a user is permanent and removes access to shares immediately. For root itself, the docs mention SSH key authentication as a way to log in without a password.

Further reading: Unraid docs: user management

Going deeper: Guide: your Unraid cache is full and Docker stopped, how to find out why and fix it

More Unraid tips Change the RAID profile of a Unraid BTRFS pool with Balance Replace a disk in a redundant Unraid pool from the Main tab Test every Unraid drive with the DiskSpeed container See the XML behind a VM with the inline XML view in Unraid 7 Choose where a new VM's disk image is created with Unraid's storage override All Unraid tips (77) All topics

Link