Replies: 1 comment 1 reply
-
Does using a "command_string": "runscript -Raw=```dscl . -passwd /Users/someuser %s```" % (newPW) work? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
budachst
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to run a dscl on macOS to change some user's password. I successfully did that using a single id as a target using a service class. I am trying to get that working using an uber class approach, but the command alsways gets rejected with this error
40006, 'message': 'Command is not valid'. I am constructing my BODY payload like this:
If I leave the -Raw= and the backticks out, the command gets executed and the result returned, but I need the -Raw option, since I want to run an OS specific command.
Beta Was this translation helpful? Give feedback.
All reactions