Apple 034-2344 manual To export user and group information, Install Mac OS X Server version

Page 64

64

To export user and group information:

1Insert the installation disc.

2Log in using the root account.

3Open the Terminal application.

4Navigate to the Migration Tools folder by entering

cd "/<disc-name>/Welcome to Mac OS X Server/Migration Tools/"

5Run the tool and save the results in an XML file on a partition other than the server partition. For example:

./Mac_OS_X_Server_1.2_Export_Tool > /MyPartition/MyExportFile.xml

You can limit the user and group accounts exported to a specific range. To do this, use the -u and -g command-line arguments. For example, to export only user accounts that have a user ID in the range of 100 to 199, and to export all groups, use the following command:

./Mac_OS_X_Server_1.2_Export_Tool -u 100,199 > exported-ug.xml

To export all user accounts, but limit the exported groups to those that have a group ID in the range of 200 to 500, use this command:

./Mac_OS_X_Server_1.2_Export_Tool -g 200,500 > exported-ug.xml

You can also use -u and -g options in the same command:

./Mac_OS_X_Server_1.2_Export_Tool -u 800,899 -g 100,199 >

exported-ug.xml

The ID range must contain two numbers separated by a comma and must not contain any spaces.

Note: The export tool remaps users in primary group 80 to primary group 20 for security reasons. To override this behavior, use the -x command-line option.

6Check the partition where you saved the export file and make sure it’s there.

When you export users, encrypted passwords are exported. If you want to reset passwords, you can do so using Workgroup Manager, as described in step 7.

Step 5: Install Mac OS X Server version 10.3

Follow the instructions in the getting started guide for performing a clean installation of Mac OS X Server version 10.3.

If you’ve been using Macintosh Manager to manage Mac OS 9 users and want to continue doing so, also install Macintosh Manager 2.2.

Chapter 4 Migrating From Mac OS X Server Version 1.2

Image 64
Contents Mac OS X Server Migration Apple Computer, Inc Apple Computer, Inc. All rights reserved Contents Migrating From AppleShare IP Migrating in Place From AsipWhat’s Included in This Guide Getting Additional InformationPage Before You Begin Upgrading Versus MigratingMigration Scenarios Migrating Users and GroupsSystem Accounts Here are the predefined user accountsHere is a list of the predefined group accounts Short name Group IDMigrating Data for Managed Mac OS 8 and 9 Users Migrating Other DataAfter Migration Version Understanding What You Can MigrateTo set up See Tools You Can UseMigrating in Place From Version Test the new serverMake a full backup of your current server Web Configuration DataWeb Content FTP Configuration FilesNetBoot Images WebObjects Applications and FrameworksTomcat Data IP FirewallMacintosh Manager Data QuickTime Streaming Server Files and FoldersExport users and groups to another hard disk or partition To export users and groupsSet up the home directory infrastructure Install Mac OS X Server versionTo prepare the server to store home directories To import users and groups using Workgroup Manager Import previously exported users and groupsRestore saved data To migrate the web configurationTo migrate the AFP configuration AFP ConfigurationTo migrate the mail database To migrate the IP firewall configuration IP Firewall ConfigurationDNS Configuration Dhcp Settings To migrate the Dhcp configurationSet up share points and privileges To create a share point and set privilegesTest the new server To test the new serverMigrating to a New Server From Version Create archive files of data and user export fileExport users and groups Create archive filesAFP DNS To transfer tar files or disk images using FTP Copy archive files to the new serverRelocate saved data files Web Configuration Data Mail Database NetBoot Images Dhcp Settings Set up share points and privileges Version Tools You Can Use Install Mac OS X Server Copy current data to another hard disk or partition AFP QuickTime Streaming Server Files and Folders Import previously exported users and groups Restore saved data MySQL Data AFP Configuration DNS Configuration Migrate Macintosh Manager Information Export user Create archive files AFP DNS Set up the home directory infrastructure Relocate saved data files MySQL Data AFP Configuration IP Firewall Configuration User Data Network services administration guide Tools You Can Use Info to another hard Make a full backup of your current server To prepare data for the migration utility Export user and group informationTo export user and group information Set up the home directory infrastructure Restore saved data To migrate Macintosh Manager data For Move this folder to Old MM Items If login is Migration utility Test the new server Set up share points Export user and group information Create archive files To transfer tar files using FTP Set up the home directory infrastructure Relocate saved data files Set up share points and privileges For Move this folder to Old MM Items Migrating From Mac OS X Server Version If login is Migration utility Test the new server Page Migrating From AppleShare IP Migrating From AppleShare IP Migrating in Place From Asip Check the migrationExport user and group information if necessary Provide Internet Aliases if necessaryTo export user information from Asip To install the new server Prepare to migrate privilegesTo use the AppleShare IP Migration utility Migrating From AppleShare IP Copy data to the new server This directory Place these files Macintosh Manager Macintosh Manager Items Migrating From AppleShare IP If login is Migration utility Test the new server Migrating to a New Server From Asip Provide Internet Aliases if necessary Mount the Asip server on Mac OS X Server To mount the Asip serverCopy the Users & Groups Data File and the mail database To copy these items100 To create home directories for imported users 102 103 104 105