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.

Krusader as filemanagement, auto start docker when connecting, auto stop docker when disconnecting, works! But how to secure it better?

Featured Replies

Hello,

So i've setup my Remote Desktop Manager (which is a wonderful windows program by the way to keep all my remote stuff in one place) to run a cmd plink script that ssh's into my unraid installation and starts the Krusader docker container.

 

Then after 5 seconds has passed it initiates the actual vnc connection to the now started docked container.

When i exit the vnc connection it sends another cmd plink command to stop the Krusader container.

 

This all works fine, but i have to pass the password in clear text using plink and i use the root login which feels bad.

 

My question to you is: How do i setup a user that i can ssh in to unraid with that ONLY has permission to stop/start manage the docker containers and not the rest of the unraid installation? I would rather use a limited user that only has these privileges than using the root account.

 

Any ideas? Thank you.

 

image.thumb.png.7fd680526c9e1ed344c7b97699916bb0.png

I do not believe that is possible to do this in any easy way at the moment as Unraid does not have users in the traditional Linux sense.  As a result ‘root’ is the only one who can ssh in as standard.    Making parts of the Unraid GUI accessible to non-privileged users is I believe a roadmap item, but as to any ETA I have no idea.

  • Author
4 minutes ago, itimpi said:

I do not believe that is possible to do this in any easy way at the moment as Unraid does not have users in the traditional Linux sense.  As a result ‘root’ is the only one who can ssh in as standard.    Making parts of the Unraid GUI accessible to non-privileged users is I believe a roadmap item, but as to any ETA I have no idea.

alright thanks for the information, would be cool to have that on the roadmap for future features... i am not fully exposed as the rdm encrypts all the data it stores and i only initiate any traffic to the unraid installation on the LAN so i should be fine for now.

While in no way addressing your actual request, I have a suggestion to further secure your remote file management procedure. Set up a second instance of krusader, this one set with NO mappings, so the only access is inside the krusader container. Set it to auto start, and change your script to shut down the no mapping version and start your mapped version, reversing on exit. That way if someone is poking around they can find the file manager with no real way to damage anything, and your real container won't start because of the port clash.

 

Kind of a modified port knocking type of approach to security.

  • Author
1 hour ago, jonathanm said:

While in no way addressing your actual request, I have a suggestion to further secure your remote file management procedure. Set up a second instance of krusader, this one set with NO mappings, so the only access is inside the krusader container. Set it to auto start, and change your script to shut down the no mapping version and start your mapped version, reversing on exit. That way if someone is poking around they can find the file manager with no real way to damage anything, and your real container won't start because of the port clash.

 

Kind of a modified port knocking type of approach to security.

that's not a terrible idea, thanks for the tip!

Archived

This topic is now archived and is closed to further replies.

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.