Comments (12)
Wondering if you had any luck fixing this?
I'm experiencing the same issue. Running a simple command such as open -a Safari
works as expected. But I'm trying to trigger our MDM client and it fails. (even though the same command being run as the current user via Terminal succeeds)
from supportapp.
No luck so far. We've put it on hold for the moment.
from supportapp.
Thanks for the quick reply!
hmm.. tried to give it Full Access, too.. but no cigar. Guess we'll have to wait until the developers chime in.
I know someone who's created a simple automator app which runs an Apple Script. Calling the script by opening the app instead of running the command seems to work.
from supportapp.
Similar issue- I have buttons that will open apps fine, but when it comes to running a script, it gets weird.
It will run a script first time, no problems. If I hit the button to run it again, the script output changes (incorrectly, I might add. For example- if I have a script that runs "fdesetup status | head -n 1" it will correctly report filevault on; if I run it again, it will say it's off. Uses an AppleScript popup to return the info). If I edit the script, nothing changes. Eventually, the script will stop being recognized at all.
Script is in /Library/Application Support/MDM/Scripts. Script is executable
from supportapp.
Can also confirm the automator workaround
from supportapp.
Can we maybe see several examples of commands or scripts that are entered in the config profile? We also currently have a problem calling a script in the support app. Thank you very much.
from supportapp.
I'm also having issues with this. I've tried assigning a command in the form of /path/to/script.file
with or without arguments, /path/to/binary arg1 arg2
and <shell built-in> arg1 arg2
, but none of them work.
If I repeatedly click the button in the app, the app says βAn error occurred".
How is this supposed to work? Are there any logs?
Thanks!
from supportapp.
Please note the current implementation of running scripts/commands is running in the user space because the app is sandboxed, so the script is probably not reachable or requires elevated privileges.
We are working on an (optional) helper utility to allow running scripts/commands with elevated privileges because we don't want to break out of the sandbox for security reasons. A beta will probably be released before the end of next week :)
from supportapp.
The specific code I'm trying to run requires no elevation how ever.
Is there any logging or such?
Sounds good about the utility though, and nice that it's optional.
from supportapp.
I just have seen the new beta, thanks a lot! Is the SupportHelper app available as well?
from supportapp.
Hi @meta-github yes it's in the pre-release assets for the 2.4 beta:
Documentation: https://github.com/root3nl/SupportApp/tree/development
SupportHelper download: https://github.com/root3nl/SupportApp/releases/tag/v2.4-beta
from supportapp.
I think this issue can be closed now that SupportHelper is available. Yes?
from supportapp.
Related Issues (20)
- Feature Request: Can we have option to see VPN IP address as well instead of Local IP only ?
- Feature Request: Escalating badges
- Intel only - Model is empty on rollover of ComputerInfo button HOT 6
- Feature Request: "Serial" InfoItem
- Cisco Secure Endpoint detects SupportApp as trying to evade Gatekeeper HOT 2
- Support App does not get hidden in LaunchPad HOT 1
- StatusBarIcon color not matching HOT 1
- Feature Request: Ability to use custom link for password infoItem to launch a "password change" workflow for Jamf Connect HOT 3
- MenuBar icon only in greyscale? HOT 7
- Two Support.app processes running at same time HOT 2
- Feature request: third Info/configurable items row HOT 2
- Feature Request: Hover over macOS version to show build number
- [translation error] grammatical error on uptime
- is:open label:"help wanted" - Issue - crash report support helper running as root HOT 3
- Custom Menubar Icon rendering as black circle HOT 4
- Users presented with macOS Sonoma even if it's deferred HOT 7
- Add manifest to iMazing Profile Editor HOT 1
- Feature Request: CURL custom attributes
- Duplikate info fields when setting "No Value" HOT 4
- Feature Request: Enhanced SupportHelper option to add checksum (SHA256) validation for Script execution.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supportapp.