Skip to main content
Question

Application requires admin rights after installing

  • April 8, 2021
  • 6 replies
  • 108 views

Forum|alt.badge.img+4

Hello,

I am trying to package an application, specifically Charles Proxy, and I am able to get it to deploy fine, but the application requires admin rights to access the Mac proxy settings after the install. I can't seem to figure out how to grant these rights to the application before I deploy it to the users. Is there any trick to this or will this application now require admin rights to use?

I am just getting into application packaging so sorry if this is confusing, if there is anything I can clarify, let me know.

6 replies

CSCC-JS
Forum|alt.badge.img+8
  • Valued Contributor
  • April 8, 2021

You could add a script to open the app after the install, it would have admin right when launched via Jamf. This would only work if it need admin rights just one time.

Policy
Install software pkg / dog
Script set to “after” that launch’s the program


CSCC-JS
Forum|alt.badge.img+8
  • Valued Contributor
  • April 8, 2021

(Can’t edit on mobile app)

Create an policy that launch’s the software from the Self-Service app the user can trigger when they need to launch it.


Forum|alt.badge.img+4
  • Author
  • New Contributor
  • April 15, 2021

I ended up installing an old version of the application that worked without admin with a scripting workaround. I might test your solution too because I am interested to see if that works.


Forum|alt.badge.img+13
  • Valued Contributor
  • April 15, 2021

An easy way would be to create a policy in Self Service, and under "Files & Processes", add the following command (linked to where you install Charles Proxy):

/Applications/Charles.app/Contents/MacOS/Charles

JRodgers17
Forum|alt.badge.img+4
  • Contributor
  • July 11, 2022

An easy way would be to create a policy in Self Service, and under "Files & Processes", add the following command (linked to where you install Charles Proxy):

/Applications/Charles.app/Contents/MacOS/Charles

Can confirm this worked for me 


Forum|alt.badge.img
  • New Contributor
  • July 18, 2024

An easy way would be to create a policy in Self Service, and under "Files & Processes", add the following command (linked to where you install Charles Proxy):

/Applications/Charles.app/Contents/MacOS/Charles

Tested with another App and it works, great many thanks for this... it was a pain !!