Re-enable portable home directory options at login
Jan 06, '06 05:39:00AM • Contributed by: rhartlein
Jan 06, '06 05:39:00AM • Contributed by: rhartlein
Mobile users in an OS X Server / Client setup are prompted at login with a dialog asking if they want to create a portable home directory on the machine they are logging on. They have three buttons to choose from:
The solution resides in a preference file on the client machine: /Library/Preferences/com.apple.MCX.plist
When clicking "Never" in the startup dialog, OS X creates this preferences file (or an entry in the file if it exists already). This file contains an entry for each mobile user having chosen to never create a portable home directory on the machine. The key looks like this:
In case there are more than one entry, I guess deleting the key/value pair concerning just one particular mobile user, without deleting the whole plist file, would have done it also, but I did not try that.
- Not Now -- just log in to the network account and work with the network home directory. Question will reappear at next login.
- Yes -- creates a local copy of the network home directory and a special local user account labelled "mobile."
- Never -- suppresses this dialog at login to the machine and continues login to the network account using the network home directory.
The solution resides in a preference file on the client machine: /Library/Preferences/com.apple.MCX.plist
When clicking "Never" in the startup dialog, OS X creates this preferences file (or an entry in the file if it exists already). This file contains an entry for each mobile user having chosen to never create a portable home directory on the machine. The key looks like this:
MobileAccountNeverAsk-username
The value is set to 1 for each 'never' user. After deleting the file, the dialog reappears at login, and users can successfully create a portable home directory on the machine.
In case there are more than one entry, I guess deleting the key/value pair concerning just one particular mobile user, without deleting the whole plist file, would have done it also, but I did not try that.
•
[16,473 views]
