<HTML>
<HEAD>
<TITLE>Re: [Casper] hidden users in 10.5</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Thomas,<BR>
<BR>
You could use the jamf command, which has a verb that rolls all the commands into one. ie:<BR>
<BR>
sudo jamf createAccount -username netadmin -realname "Network Administrator" -password p@55w0rd –home /var/netadmin –shell “/bin/bash” -hiddenUser -admin <BR>
<BR>
This could be run as an @reboot script after imaging, or on your OS package by running it when building the OS (if you don’t have the jamf binary on it, run it from a thumb drive or other parition).<BR>
<BR>
Please let us know if that helps.<BR>
<BR>
Thanks,<BR>
<BR>
Josh<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Gill Sans"><SPAN STYLE='font-size:9pt'>......................................................................................................................................................................................<BR>
Joshua Holland | Sr. Systems Engineer | <B>JAMF </B>Software 1011 Washington Ave S. #350 Minneapolis MN 55415<BR>
<B>Office </B>(612) 605-6625 | <B>Fax </B>(612) 332-9054 | <a href="josh@jamfsoftware.com">josh@jamfsoftware.com</a> | <a href="http://www.jamfsoftware.com">http://www.jamfsoftware.com</a> <<a href="http://">http://</a>www.jamfsoftware.com/> <BR>
</SPAN></FONT><SPAN STYLE='font-size:9pt'><FONT FACE="Helvetica, Verdana, Arial"><BR>
<BR>
</FONT></SPAN></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<BR>
<BR>
<BR>
On 6/13/08 12:41 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'>Since we are migrating into 10.5 I want to set up a few local hidden<BR>
user accounts. 1 for local administration by the IT staff and the other<BR>
for all the casper stuff. Before I would just create the user, move it<BR>
to a different directory, change and apply ownerships and modify paths<BR>
in netinfo. Well, in 10.5 there is no longer any netinfo. How are you<BR>
all doing this? here are the commands I am using, perhaps my syntax is<BR>
off but I yield no errors when running it.<BR>
<BR>
sudo dscl . create /Users/$USERNAME<BR>
sudo dscl . create /Users/$USERNAME PrimaryGroupID 450<BR>
sudo dscl . create /Users/$USERNAME UniqueID 450<BR>
sudo dscl . create /Users/$USERNAME UserShell /bin/bash<BR>
sudo dscl . passwd /Users/$USERNAME $PASSWORD<BR>
sudo dscl . append /Groups/admin GroupMembership $USERNAME<BR>
sudo dscl . create /Users/$USERNAME NFSHomeDirectory<BR>
/private/var/$USERNAME<BR>
<BR>
Any advice?<BR>
<BR>
I already edited the /Library/Preferences/com.apple.loginwindow.plist to<BR>
hide all users under UID 500 and that seems to work.<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>
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>