site  contact  subhomenews

Enhanced script to run app as any user

February 08, 2026 — BarryK

I posted this morning, a script:

"Script to run app as any user"
https://bkhome.org/news/202602/script-to-run-an-app-as-any-user.html

Have now taken it to the next level. The user should not be required to run a script in a terminal; running any executable as a particular user should be easily selectable graphically.

Now, right-click on any executable, and there is a menu entry "Run-as-user" (and translated for non-English). Here I right-clicked on /usr/bin/sakura in ROX-Filer:

img1

Next:

img2

Showing the choices:

img3

I changed the name of the script to /usr/local/clients/run-as-user (with symlink in /usr/sbin), and there is a new /usr/share/applications/run-as-user.desktop

It is going to be interesting to see how people make use of this feature.   

Tags: easy