Hello,
Can someone help me figure this script out? I am trying to setup rights for my network mobile users and they don't have rights to add printers.
But I found some help from apple that would let local and network users to add printers without being administrators.
http://support.apple.com/kb/HT3511
When you add them to the user group of lpadmin it would ask for password from the command line.
dseditgroup -o edit -p -d admin -t group _lpadmin
dseditgroup -o edit -n /Local/Default -u admin -p -a $3 -t user lpadmin (this line would ask for user of admin password, no idea where to add if I put it in the script?)
Thank you in advanced.