If you specify a language other than English when you create new user accounts using the UserManager application in OPENSTEP 4.0 for Mach, some OPENSTEP defaults in the new account will not correctly match the 3.3-style defaults given to the account. The Language, Measurement Units, and Paper Size values displayed in Preferences are not the ones that will be used by OPENSTEP apps (which will use English/US defaults for these values).

If you are creating many user accounts, you can use program hooks in UserManager to modify user accounts to have the correct OPENSTEP defaults as you create the accounts.

Copy the following text into a file with execute permissions turned on.

DEFAULTSLIST=$5/#DEFAULTS4#
USERNAME=$1
grep -v "^#" $DEFAULTSLIST | sed "s/^/\/usr\/bin\/defaults write /" > /tmp/defaults.$USERNAME
su $USERNAME < /tmp/defaults.$USERNAME
rm -f  /tmp/defaults.$USERNAME
rm -f  $DEFAULTSLIST

Then select Defaults in the User menu of the Usermanager application to bring up the User Defaults panel. Select "After creating a user's home" in the Program hooks pop-down menu in the User Defaults panel and set the Program hooks path to point to the file where you saved the above text.

For more information on using Program Hooks, see the "Program Hooks" section in Chapter 5 ("Managing User Accounts and User Groups") of the online NEXTSTEP Network and System Administration manual (in /NextLibrary/Bookshelves if you have the Documentation package installed).

If you are just working with a few accounts it may be easier to synchronize the OPENSTEP and 3.3-style defaults for the individual accounts. To do this, you should select a different value in Preferences for each of the Language, Measurement Units, and Paper Size defaults and then re-select the values that you want.