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!

Posted on Apr 18, 2013 2:49 PM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Send UNIX Command / No tty / username & password must be provided

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.