robti Posted September 16, 2022 Share Posted September 16, 2022 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 Quote Link to comment
JorgeB Posted September 16, 2022 Share Posted September 16, 2022 You cannot use the root credentials for shares, it's for the GUI/SSH only, shares user access is controlled in the share settings. Quote Link to comment
robti Posted September 16, 2022 Author Share Posted September 16, 2022 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 Quote Link to comment
kizer Posted September 16, 2022 Share Posted September 16, 2022 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? Quote Link to comment
trurl Posted September 16, 2022 Share Posted September 16, 2022 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. Quote Link to comment
kizer Posted September 16, 2022 Share Posted September 16, 2022 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 Quote Link to comment
robti Posted September 16, 2022 Author Share Posted September 16, 2022 So I must have set it up wrong as i definitely used root to add, alter and remove files to my share folders Quote Link to comment
JorgeB Posted September 16, 2022 Share Posted September 16, 2022 20 minutes ago, robti said: as i definitely used root With the same password as root for the GUI? Quote Link to comment
robti Posted September 16, 2022 Author Share Posted September 16, 2022 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 Quote Link to comment
JorgeB Posted September 16, 2022 Share Posted September 16, 2022 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. Quote Link to comment
trurl Posted September 16, 2022 Share Posted September 16, 2022 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. Quote Link to comment
Recommended Posts
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.