0

This is probably a pretty noobish question, but here goes...

I've recently discovered Kyle Crawford's dockutil, but I can't make it work with Apple Remote Desktop. Or rather: I can't make it work with ARD's "Send UNIX Command" feature. It works fine on single machines (i.e. working in Terminal on a remote Mac controlled via ARD), but sending dockutil commands to multiple Macs (with dockutil installed on them) fails.

Why? And is there a solution?

If anyone can shed any light on this I'd be really grateful.

TIA.

  • To start, exactly what command are you sending and what error are you getting back – Tony Williams Jan 23 '14 at 22:38
  • Hi Tony, and thanks for answering :) Sending any "dockutil" commands (e.g. dockutil --add /Applications/Whatever.app --allhomes) using "Send UNIX Command" produces a command-not-recognised error. But inputing the same command into Terminal on a remote computer controlled via ARD works fine. – sc00bs Jan 24 '14 at 22:04
  • Could you put an exact example and the exact return, please. – Tony Williams Jan 25 '14 at 0:21
0

Are you using the complete path to your command? The "Send UNIX command" doesn't use the same PATH as you. If memory serves it uses the same one as the root login but it may be even shorter than that.

I always put the complete path regardless.

  • Ah, that's interesting. I'll check it out and report back (dot dot dot). Thanks again. – sc00bs Jan 25 '14 at 8:45
  • ...and you're absolutely right :) If you preface the command with /usr/local/bin/ it works. Thank you for your help! – sc00bs Jan 27 '14 at 20:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .