[Casper] hidden users in 10.5

Thomas Larkin tlarki at kckps.org
Fri Jun 13 10:41:21 PDT 2008


Since we are migrating into 10.5 I want to set up a few local hidden
user accounts.  1 for local administration by the IT staff and the other
for all the casper stuff.  Before I would just create the user, move it
to a different directory, change and apply ownerships and modify paths
in netinfo.   Well, in 10.5 there is no longer any netinfo.  How are you
all doing this?  here are the commands I am using, perhaps my syntax is
off but I yield no errors when running it.

sudo dscl . create /Users/$USERNAME
sudo dscl . create /Users/$USERNAME PrimaryGroupID 450
sudo dscl . create /Users/$USERNAME UniqueID 450
sudo dscl . create /Users/$USERNAME UserShell /bin/bash
sudo dscl . passwd /Users/$USERNAME $PASSWORD
sudo dscl . append /Groups/admin GroupMembership $USERNAME
sudo dscl . create /Users/$USERNAME NFSHomeDirectory
/private/var/$USERNAME

Any advice?

I already edited the /Library/Preferences/com.apple.loginwindow.plist to
hide all users under UID 500 and that seems to work.

Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
cell:  913-449-7589
office:  913-627-0351


More information about the Casper mailing list