Send UNIX Command / No tty / username & password must be provided
I'm utilizing Apple Remote Desktop (ARD) 3.6.1 (471.16) and I'm attempting to deploy this UNIX command:
sudo dseditgroup -o edit -n /Local/Default -a staff -t group _lpadmin
When using with sudo it gives me this response error:
sudo: no tty present and no askpass program specified
I attempted again and selected the admin user in Run Command As, and it still did not deploy the command.
Then I attempted the command but without sudo:
dseditgroup -o edit -n /Local/Default -a staff -t group _lpadmin
and received this error prompt:
'Username and password must be provided.'
Yes we can logout all standard/managed users deskside log into admin and set it up that way, however with hundreds of macs we'd like to deploy this to is not ideal.
Any suggestions or ways to resolve?
Thanks!