Issue
I need to run DBeaver admin mode but instead of running the app via terminal, I need to run via shortcut as admin mode.
So, is it possible in Mac as in Windows?
Solution
Yes, you can run the app with sudo(admin mode in your word) permission with the help of the built-in App: Script Editor.
With Script Editor app open, paste this line:
do shell script "open /System/Applications/Stickies.app" user name "YOUR_USER_NAME" password "YOUR_PASSWORD" with administrator privileges
I'm taking the app Stickies.app as an example. Replace it with your own user-mode app
When edit is done, choose Menu -> File -> Export to export it as an Application.
Then you will get an executable "sudo" version of your application at your exported location.
Congrats
Answered By - kakaiikaka Answer Checked By - Gilberto Lyons (PHPFixing Admin)


0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.