Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
4.03k stars 545 forks source link

Add support for picking user when doing command line sessions #6408

Open bcredeur97 opened 3 hours ago

bcredeur97 commented 3 hours ago

This is sort of specific to the niche of RDS/Terminal servers, or computers that have multiple users simultaneously logged in. But it would be really awesome if there was a way to pick the specific user you wish to run commands as.

I use MeshCentral via TacticalRMM, and right now it seems when you right click the "Connect" button and click "User Shell" or "User Powershell", you only get dumped into the shell of the first user it picks with no choice of what user you want the shell as.

RunAs to an extent solves this problem, but not if you want to maintain an environment where the admins do not know or need to know the user's passwords, which I definitely prefer :)

si458 commented 3 hours ago

Ah right yes I understand

Currently, the connect buttin on the remote tab has the ability to pick a user when there are multiple users connected

But there is no way for the terminal!

So, I just need to implement the same sort of thing for the terminal :)

bcredeur97 commented 1 hour ago

Ah right yes I understand

Currently, the connect buttin on the remote tab has the ability to pick a user when there are multiple users connected

But there is no way for the terminal!

So, I just need to implement the same sort of thing for the terminal :)

You’re awesome!! That’s exactly what I mean!

Thanks so much :)