Skip to main content
Question

Run plugin update app without admin permission

  • September 11, 2024
  • 0 replies
  • 0 views

Forum|alt.badge.img+1

Hey All,

I am trying to find a way to have one of out users be able to update his plugins without us needing to scope the make me an admin script onto his machine all of the time. I made a script to run the plugin manager app as admin then kill it after 10 minutes for security, but wanted to see if there is a better way to do this. Here is what I have

 

 

#!/bin/bash

# Run the app as administrator

sudo open -a "/System/Applications/MyApp.app"

# Shutdown the app after 10 minutes

sleep 10m

pkill myapp

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings