<HTML>
<HEAD>
<TITLE>Re: [Casper] creating local user accounts</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>What do you want to change in the user template?<BR>
<BR>
And for creating accounts the built-in JSS stuff seems to be fine for me...<BR>
<BR>
Craig E<BR>
<BR>
<BR>
On 9/3/08 2:16 PM, "Thomas Larkin" <<a href="tlarki@kckps.org">tlarki@kckps.org</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>So, I have to create local user accounts, on like a ton of machines. I have a script ready that will use the dscl command to create a local user account for students to log in just in case they can't sync their mobile accounts. however, I do know that Casper offers creating user accounts from the JSS via a policy.<BR>
<BR>
Now, my concerns are, how do I change the user template? can I make a smart group based on local accounts? Are there any known issues using the Casper built in policy, or should I stick with a script? Anyone had to use this before? I only ask all these questions because we are having directory problems, which I won't get into at the moment, but I need to push out local accounts to the machines so people can log in and run testing software.<BR>
<BR>
Here is the script:<BR>
<BR>
#!/bin/sh<BR>
<BR>
#Long Name: KCK Student<BR>
#Short Name: student<BR>
#Password: password<BR>
<BR>
<BR>
dscl . -create /Users/student<BR>
dscl . -create /Users/student UserShell /bin/bash<BR>
dscl . -create /Users/student RealName "KCK Student"<BR>
dscl . -create /Users/student UniqueID 505<BR>
dscl . -create /Users/student PrimaryGroupID 20<BR>
dscl . -create /Users/student NFSHomeDirectory /Local/Users/student<BR>
dscl . -passwd /Users/student password<BR>
dscl . -create /Users/student dsAttrTypeNative:_writers_hint: Typical password<BR>
dscl . -create /Users/student<BR>
dsAttrTypeNative:_writers_LinkedIdentity: student<BR>
dscl . -create /Users/student dsAttrTypeNative:_writers_passwd: password<BR>
dscl . -create /Users/student dsAttrTypeNative:_writers_realname:<BR>
student<BR>
dscl . -create /Users/student<BR>
dsAttrTypeNative:_writers_UserCertificate: student<BR>
<BR>
Thoughts? Suggestions?<BR>
<BR>
Many thanks in advance for any advice.<BR>
<BR>
___________________________<BR>
Thomas Larkin<BR>
TIS Department<BR>
KCKPS USD500<BR>
<a href="tlarki@kckps.org">tlarki@kckps.org</a><BR>
cell: 913-449-7589<BR>
office: 913-627-0351<BR>
<BR>
<BR>
_______________________________________________<BR>
Casper mailing list<BR>
<a href="Casper@list.jamfsoftware.com">Casper@list.jamfsoftware.com</a><BR>
<a href="http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.jamfsoftware.com/mailman/listinfo/casper</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>