07/03/96 Migrating Users From AIX 3.2 to 4.1 or 4.2 SPECIAL NOTICES Information in this document is correct to the best of our knowledge at the time of this writing. Please send feedback by fax to "AIXServ Information" at (512) 823-4009. Please use this information with care. IBM will not be responsible for damages of any kind resulting from its use. The use of this information is the sole responsibility of the customer and depends on the customer's ability to eval- uate and integrate this information into the customer's operational environment. ABOUT THIS DOCUMENT This document discusses transfering users from 3.2 systems to 4.1 or 4.2 systems: FILES THAT CAN BE COPIED OVER: /etc/security/group /etc/security/limits - AIX 4.2 manually merge this file /etc/security/passwd /etc/security/.ids /etc/security/environ /etc/security/.profile /etc/group /etc/passwd NOTE: Edit the passwd file so the root entry looks like: root:!:0:0::/:/usr/bin/ksh NOTE: In 3.2, the initial program was /bin/ksh. You could install the bos.compat.links fileset. When you copy /etc/passwd and /etc/group you will need to make sure they contain at least a minimum set of essential user and group definitions specifically root,daemon,bin,sys,adm,uucp,guest,nobody and lpd as users and system,staff,bin,sys,adm,uucp,mail,security, cron,printq,audit,ecs,nobody and usr as groups. This is doc- umented in Appendix D. of the latest version of the 4.1 Installation Guide. If the bos.compat.links fileset is installed, you can copy the /etc/security/mkuser.defaults file over. If its not installed, the file belongs in the /usr/lib/security direc- tory. The /etc/security entry is a symbolic link to here. The following files are different at 4.x and can NOT be copied over: /etc/security/login.cfg /etc/security/user Migrating Users From AIX 3.2 to 4.1 or 4.2 1 07/03/96 NOTE: Manually edit these files on the 4.x system. In the new /etc/security/user file you may want to copy the individual user stanzas from the 3.2.5 user file and modify the default stanza to have the same values, plus edit the default stanza to contain the pw_restrictions entries for- merly found in login.cfg(325). In AIX 3.2, the password restrictions are applied uni- versally. in In AIX 4.1 they can be applied individ- ually. You may want to reevaluate which stanzas to modify (optional). You can also decide whether or not you want to implement any of the new features presented in the user file. Then after the files are moved over, run: usrck -t ALL pwdck -t ALL grpck -t ALL to clear up any discrepancies (like nuucp not having an entry in /etc/security/passwd). Ideally this should be run on the 3.2.5 system before copying over the files as well as after porting these files to 4.1 MIGRATING FROM 4.1 TO 4.2 SYSTEMS All of the above files can be copied directly except for the /etc/security/limits file. This now includes both soft and hard limits so the file must be manually merged. Migrating Users From AIX 3.2 to 4.1 or 4.2 2 07/03/96 READER'S COMMENTS Please fax this form to (512) 823-4009, attention "AIXServ Informa- tion". You may also e-mail comments to: elizabet@austin.ibm.com. These comments should include the same customer information requested below. Use this form to tell us what you think about this document. If you have found errors in it, or if you want to express your opinion about it (such as organization, subject matter, appearance) or make sug- gestions for improvement, this is the form to use. If you need technical assistance, contact your local branch office, point of sale, or 1-800-CALL-AIX (for information about support offer- ings). These services may be billable. Faxes on a variety of sub- jects may be ordered free of charge from 1-800-IBM-4FAX. Outside the U.S. call 415-855-4329 using a fax machine phone. When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any way it believes appropriate without incurring any obligation to you. NOTE: If you have a problem report or item number, supplying that number may help us determine why a procedure did or did not work in your specific situation. Problem Report or Item #: Branch Office or Customer #: Be sure to print your name and fax number below if you would like a reply: Name: Fax Number: ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ END OF DOCUMENT (migrate.users.cmd) Migrating Users From AIX 3.2 to 4.1 or 4.2 3