MacOS – ARD and dockutil

dockmacosremote desktopunix

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.

Best Answer

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.