Apple Mac OS X manual Export user and group information, To export user and group information

Page 78

78

Step 1: Export user and group information

You use a command-line tool called Mac_OS_X_Server_1.2_Export_Tool to export user and group information.

The tool is located on the version 10.4 server installation disc in /Welcome to Mac OS X Server/Migration Tools/.

When you run the tool, you must save the exported information in a file with the extension “.xml” on a partition or disk other than the server partition.

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 -uand -gcommand-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 -xcommand-line option.

6Check the location 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 6 on page page 81.

Chapter 7 Migrating From Mac OS X Server Version 1.2

Image 78
Contents Mac OS X Server Apple Computer, Inc Apple Computer, Inc. All rights reserved Contents Migrating From AppleShare IP IndexAbout This Guide What’s in This GuideUsing This Guide Using Onscreen HelpMac OS X Server Suite This guide Tells you how toGetting Documentation Updates Getting Additional InformationServers From Which You Can Upgrade or Migrate Before You BeginMigrating From a Pre-Version 10.4 Server to Version Migrating Users and Groups Migrating From Windows NTUID Here is a list of the predefined group accounts Before You Begin Version Understanding What Can Be ReusedTo upgrade the master and its replicas Upgrading an Open Directory Master and Its ReplicasStep-by-Step Instructions Update your server to version Perform an upgrade installation to versionUpgrading Mac OS X Server Version Upgrading Mac OS X Server Version WebObjects Make Adjustments as needed after initial server setupTo update a WebObjects project Secure Sockets Layer SSL CertificatesNetBoot Images To upgrade a group recordDirectory Services GroupsWeb Service Print ServiceOpen Directory Upgrade Log Macintosh ManagerVersion Step-by-Step Instructions Upgrading Mac OS X Server Version Upgrading Mac OS X Server Version Make Adjustments as needed after initial server setup Groups Print Service Upgrading Mac OS X Server Version Before You Begin Understanding What You Can Migrate To reestablish the master and its replicasTo set up See Tools You Can UseGroup info User export file Export users and groups To export users and groupsCreate archive files MySQL Data Web Configuration DataWeb Content Mail DatabaseWebObjects Applications and Frameworks FTP Configuration FilesWebmail Data Tomcat DataIP Firewall User DataQuickTime Streaming Server Files and Folders Copy archive files to the new server To transfer tar files or disk images using FTPSet up the home directory infrastructure To prepare the server to store home directoriesTo import users and groups using Workgroup Manager Import users and groups and other dataTo migrate the web configuration Relocate saved data filesTo migrate the mail database AFP Configuration To migrate WebObjectsIP Firewall Configuration To migrate the IP firewall configurationDhcp Settings DNS ConfigurationTo migrate the DNS configuration To migrate the Dhcp configurationTest the new server Set up share points and privilegesTo create a share point and set privileges To test the new serverVersion Tools You Can Use Infrastructure Export users and groups Web Configuration Data Nidump -r /config/AppleFileServer . afpconfig Dhcp Import users and groups and other data Relocate saved data files Web Content To migrate the AFP configuration WebObjects Applications and Frameworks Server Admin, start firewall service Test the new server Version Tools You Can Use Export user Export users and groups AFP DNS Copy archive files to the new server Import exported users and groups and other data Relocate saved data files Mail Database AFP Configuration Tomcat Data User Data Migrating From Mac OS X Server Version AFP and NFS services File services administration guide Tools You Can Use Workgroup Manager or dsimport tool Export user and group information To export user and group informationCreate archive files To transfer tar files using FTP Import users and groups and other data Relocate saved data files QuickTime Streaming Server Files and Folders Migrating From Mac OS X Server Version Migrating From AppleShare IP Migrating From AppleShare IP Create Internet aliases for users Meichen,mei Mei chen Users Provide Internet Aliases if necessary Export user and group information if necessaryTo export user information from Asip Mount the Asip server on Mac OS X Server To mount the Asip serverCopy the Users & Groups Data File To copy this fileTo use the AppleShare IP Migration utility To import users and groups using Workgroup Manager Copy data to the new server Migrate mail To have users copy mailTo migrate the Asip mail database Migrating From AppleShare IP Index Index Reasons for migrating 10 requirements