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.

How to run Krusader in root mode

Featured Replies

How do you run Krusader in root mode?

 

I tried the option below and entered in my root password, but I was informed it was the wrong password. Thinking it was a typo, I tried again but enabled the option to display the password. I confirmed my password was correct, yet once again I was told my password was wrong.

 

It said something about a WHEEL group was well.

 

UnraidKrusader.JPG

  • Author

Thanks for the link but I could not find anything there that seemed to address my problem as thread goes off into so many directions.

 

And I have no option for user, nor is there one defined as nobody or root.

 

There is an option to run as root, and it is set to True.

 

 

 

Edited by Vetteman

  • Community Expert
29 minutes ago, Vetteman said:

There is an option to run as root, and it is set to True.

Why do you think it isn't running as root?

  • Community Expert
6 hours ago, Vetteman said:

Thanks for the link but I could not find anything there that seemed to address my problem as thread goes off into so many directions.

 

 

Are you running binhex-kruader?  If so, did you change these parameters as I suggested in the link provided?

 

image.thumb.png.61091f5ee8f954c7fb605f829ad2885b.png

 

That seems to force the process to run with root privileges (for me at least).  By the way, this plugin is setup to a file manager for only the Unraid array (that is why the PUID and GUID defaulted to the nobody/users numbers)--- Not the entire Linux OS if that is what you are trying to make it be.  

Edited by Frank1940

  • Community Expert

Also see the YouTube video.  It is a bit out dated but this is what I used to figure things out...

 

 

  • Author

I was using the non binhex-krussader, so I removed and installed the binhex version.

 

i did find the settings for PUID and PGID and changed to 0.

 

But it still seems like it will not go into root mode.

 

I am trying to edit file DockerClient.php in "/usr/local/emhttp/plugins/dynamix.docker.manager/include/"

 

I can go to the folder using terminal.

 

However using Krusdar or Binhex Krusader, I can not past /usr/local as emhttp is not display and I do have hidden folders turned on in binhex/Krusader.

So I am assuming I am not running in root mode. I also tried under Tooks-->Start Root Mode Krusader and it still does not display the emhttp folder.

I also tried entering the path in binHex/Krusader "/usr/local/emhttp" and I am told emhttp does not exist. 

 

PS: I was able to edit "DockerClient.php" via terminal but I was told using Krusader would be easier. 

Edited by Vetteman

  • Community Expert

I just check using my binhex-krusader and I think I know the reason why.  When I went to in Krusader to /usr/loxal, I got this:

image.png.7f8fcabd18b16489355747691d58a3e5.png

 

And when I used the GUI terminal and did a listing of the files with it, I go this:

image.png.f3c501e5f875dc51f201268ce5fe6928.png

 

Notice that Krusader is missing   emhttp  directory and The GUI terminal is missing the  games   directory!   What krusader is showing is file structure for the Linux system that is running in the Docker container.  Here is what the root of Krusader Docker looks like:

image.png.6f808a10a0afae82b19011cf8f90981f.png

The two designated directories are actually the mount points for the file system on the Host system (Unraid OS)  that the Docker is running on.  Here is the command that mounts the  media directory (second one marked) onto the Krusader file system:

image.png.12ef418153751ee91cf89eff12af2435.png

IF I remember correctly, this originally was   /mnt/user   but I also want access to the Disk Shares so I modified it.  I added the  Flash (first one marked)on because I want quick access to the Flash Drive because I often need a quick look at the boot drive contents when assisting on the forum.

 

You should now have enough information to mount the entire Unraid OS as a directory on the binhex-krusader by adding another Host Path.

 

  • Community Expert

You can only get at paths on the host from a docker vontsiner that you have mapped to external storage.   Looks lie you are looking at paths inside the container that have not been mapped to paths on the host.

  • Community Expert

You don't want to edit those anyway. That path is in RAM and will not survive reboot. What are you trying to accomplish?

  • Author
On 1/29/2023 at 4:41 PM, trurl said:

You don't want to edit those anyway. That path is in RAM and will not survive reboot. What are you trying to accomplish?

 

Try to resolve this issue here 

which suggested editing "DockerClient.php"

 

  • 3 weeks later...
  • Author

Still not working. I can now see the host folders and files, except for the Root folder.

UnRaid00.JPG

UnRaid01.JPG

  • Author

UnRaid003.JPG

 

Edited by Vetteman

  • Author

Any ideas?

UnRaid002.JPG

  • Community Expert

Did you create a mapping to / 

(root) ?

 

  • Community Expert
6 minutes ago, trurl said:

Did you create a mapping to / 

(root) ?

 

@Vetteman, What @trurl is trying to say ( and this is confusing),   the root of the file system is the       Directory (a single forward slash).  There is directory   /root     that is the home directory for the user 'root' (Superuser for Unraid) and this directory contains setup configuration for that user.  You appear to have map a host path to it. 

 

1 hour ago, Vetteman said:

UnRaid00.JPG

 

 

Open up a GUI Terminal [the     >_   icon on the taskbar] and enter the following three commands:
 

ls al /

ls -al /root

ls -al /mnt

 

Notice that the third one has the entries as your Host Path 2:  and the Container Path named '/Media' is mapped to   /mnt  on the Unraid file system.  Realize that the Docker container for Krusader is a Linux VM and you can map out of that VM to the Unraid OS file system.  (If you didn't map out of the Docker container, you would not be permitted to see anything on the Unraid file system!!!)   

 

IF you want to have the root directory of Unraid available to Krusader, you  have  to setup a new Host Path XX:  that is mapped to  Then you will see what is displayed in the first of those three commands.  (You have just had a crash course intro to Linux.  And you are probably completely confused at this point...)    😏  🙄

  • Community Expert

I still think this is a bad idea. If you're good enough to be playing with / you shouldn't need Krusader to do it.

  • Community Expert
1 minute ago, trurl said:

I still think this is a bad idea

 

I do agree with you.  I only setup 'root' user in Krusader  a few years back because I wanted access to the boot drive.   Krusader can be accessed from the outside a bit too easily and have everything that wide open is not a good idea!  If you have set up root privileges in Krusader be sure to start it to use and stop it when done!

 

To be perfectly honest with everyone, I seldom use Krusader any more!  I  now use Dynamix file manager plugin.  All of my Unraid shares are Private and read-only.  So Windows Explorer is not an option for file management.  Plus, Dynamix tells on what disk each file is when I am looking at User Shares and that can be a big help at times.

  • Author

The only reason I wanted to use Krusader, it was recommended to use Krusader if you did not want to use a text editor like nano or vi as the config file I was editing have over 200 lines in it. I

I've used nano and vi in past for small config files fstab or samb but not for a config file with over 200 lines. I was told Krusader has a built in gui text editor.

Edited by Vetteman

Try using mc. The text editor built in there is more friendly than nano or vi.

  • Author

Attached are the results from these three commands

 

ls al /

ls -al /root

ls -al /mnt

 

 

Screenshot from 2023-02-17 12-39-45.png

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.