Skip navigation

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

1212 Views 2 Replies Latest reply: Apr 19, 2013 11:17 AM by Space Ranger RSS
Space Ranger Level 1 Level 1 (10 points)
Currently Being Moderated
Apr 18, 2013 2:49 PM

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?





More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.