[Casper] lpadmin script

Thomas Larkin tlarki at kckps.org
Tue Jul 28 13:57:19 PDT 2009


Steve, 

Would you please extrapolate on this?  As I am going to migrate to
version 7 here really soon and would love to just push out MCX instead. 

Thanks 

Tom

>>> Steve Wood <swood at integer.com> 07/28/09 3:51 PM >>>
And, if you are using Casper 7 you can now push an MCX pref to not
require admin privs to add printers.

Steve Wood
Director of IT
swood at integer.com

The Integer Group | 1999 Bryan St. | Ste. 1700 | Dallas, TX 75201
T 214.758.6813 | F 214.758.6901 | C 940.312.2475



On Tue, Jul 28, 2009 at 3:30 PM, Thomas Larkin 
<tlarki at kckps.org> 

wrote:


Tommy 


Ever think of adding printers in Casper Admin then adding them as a self
service install and limiting the scope of clients to what printers you
want them to install. 


I looked at that hint and it only allows the "add printer app" to run,
and it won't allow for users to add it via System Prefs. Every user is
part of the _lpadmin group but I couldn't get it to work either really. 


Also are you running that as a log in hook? Because casper will only use
$3 as the current user when using it as a log in hook. If you run it as
a log in policy it should run as root and not ask for the password.



-Tom 



>>> "Nguyen, Tommy" <Tommy.Nguyen at raytownschools.org> 07/28/09 3:21 PM
>>>


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. 


_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20090728/148b4f9b/attachment.html 


More information about the Casper mailing list