September 16, 20223 yr Hi i tried to open my share folders which has been working fine and today i got refused and had to input my root name and password which was access denied, i then logged in with my user name and password which got me in. i am able to log into the web ui with the root details just not windows folders, i then went into the web ui and reinputted my root password and saved it, can anyone look at my diagnostics and see anything ? Thanks broxi-diagnostics-20220916-1219.zip
September 16, 20223 yr Community Expert You cannot use the root credentials for shares, it's for the GUI/SSH only, shares user access is controlled in the share settings.
September 16, 20223 yr Author 2 hours ago, JorgeB said: You cannot use the root credentials for shares, it's for the GUI/SSH only, shares user access is controlled in the share settings. hi i have had it this way for the last few weeks since i set my system up go into windows and then network and click the server as root and im in, just stopped working today, maybe i set it up wrong at the start
September 16, 20223 yr Honestly, if it worked before and doesn't now I'd say its a good sign to change that. It might be an inconvenience to you, but for security its not a good choice. When it worked were you on an older unraid version?
September 16, 20223 yr Community Expert root was considered an anonymous guest user for network file access, so could only read/write public shares, only read secure shares, no access to private shares. Really just treated the same as any random username that wasn't in Unraid User list. Not sure root is even allowed anymore for network file access.
September 16, 20223 yr Ah, Makes since. Because of Security reasons I've never tried to use Root as a user so I was a bit confused. Like usual thanks for Clarifying things. @trurl
September 16, 20223 yr Author So I must have set it up wrong as i definitely used root to add, alter and remove files to my share folders
September 16, 20223 yr Community Expert 20 minutes ago, robti said: as i definitely used root With the same password as root for the GUI?
September 16, 20223 yr Author 24 minutes ago, JorgeB said: With the same password as root for the GUI? yes and just tried it again and had to use a user to see the folders in windows
September 16, 20223 yr Community Expert 9 minutes ago, robti said: and had to use a user to see the folders in windows This is the expected way, root with a password should never work for SMB shares, root without password works if the shares are exported to public.
September 16, 20223 yr Community Expert 3 hours ago, trurl said: root was considered an anonymous guest user for network file access, so could only read/write public shares, only read secure shares, no access to private shares. Really just treated the same as any random username that wasn't in Unraid User list. Some other clues to this is in the Unraid webUI. On the Users page, root is the only user with Management Access, and other users you create are the only users with Share Access. And, if you take a look at SMB Security Settings for a specific share, you will see root is not a user you can grant access.
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.