<HTML>
<HEAD>
<TITLE>Re: [Casper] hidden users in 10.5</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Tom,<BR>
<BR>
Use this. The only thing that annoys me is that in things like the Sharing panel for Remote Login for example, that account still shows up in the GUI so it&#8217;s not totally hidden.<BR>
<BR>
Craig<BR>
<BR>
<BR>
On 6/13/08 12:25 PM, &quot;Josh Holland&quot; &lt;<a href="josh@jamfsoftware.com">josh@jamfsoftware.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><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. &nbsp;ie:<BR>
<BR>
sudo jamf createAccount -username netadmin -realname &quot;Network Administrator&quot; -password p@55w0rd &#8211;home /var/netadmin &#8211;shell &#8220;/bin/bash&#8221; -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&#8217;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. &nbsp;#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> &lt;<a href="http://www.jamfsoftware.com/">http://www.jamfsoftware.com/</a>&gt; <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, &quot;Thomas Larkin&quot; &lt;<a href="tlarki@kckps.org">tlarki@kckps.org</a>&gt; 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. &nbsp;1 for local administration by the IT staff and the other<BR>
for all the casper stuff. &nbsp;Before I would just create the user, move it<BR>
to a different directory, change and apply ownerships and modify paths<BR>
in netinfo. &nbsp;&nbsp;Well, in 10.5 there is no longer any netinfo. &nbsp;How are you<BR>
all doing this? &nbsp;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: &nbsp;913-449-7589<BR>
office: &nbsp;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><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>