MCX and Mobile Accounts

mbuckner
Contributor

Is there a way to check the 'create mobile account at login' checkbox through casper's managed prefs? I can't seem to find it anywhere.

Thanks,
Mark Buckner
Bridgeport ISD

2 REPLIES 2

tlarkin
Honored Contributor

You may want to look at this:

$ pwd /System/Library/CoreServices/ManagedClient.app/Contents/Resources admins-imac:Resources tlarkin$ ./createmobileaccount createmobileaccount built Jul 7 2009 17:17:01 *** error: no arguments

usage: createmobileaccount -n username [-h homepath] [-P | [-p password]] [-e] [-q] [[-x] | [-X]] [[-s] | [-S]] [-u syncURL] [-v] -n username : user record name -h homepath : user home path; Default is "/Users/<username>" -p password : user password -P : prompt for password. A password is required for FileVault home -e encrypt : encrypt new home with FileVault -q quota : max size in bytes of FileVault home -x : create as external account on non-boot volumes. Default -X : create as mobile account account non-boot volumes. -s : set home sync on if home created. -S : set home sync off if home created. Default. -u syncURL : server target of home synchronization -v : verbose output

Examples: createmobileaccount -n jsmith createmobileaccount -v -P -x -n jsmith createmobileaccount -vsdn jsmith -h /Volumes/HD3/jhome createmobileaccount -i

Notes: - createmobileaccount must run as root. - If you do not specify a password, the account's cached password will be created during the account's first log in.

CasperSally
Valued Contributor II

Hope attached screenshots help

![external image link](attachments/a017099fcd9445eb900cd5ed2a466e68)
![external image link](attachments/8342ae20e18542f29cd517df46867bb3)