Migrating Users from AIX 3.2 to 4.1, 4.2 and 4.3


About this document
    Related documentation
Files that can be copied over
Migrating from AIX version 4.1 to 4.2 and 4.3

About this document

This document discusses migrating users from AIX 3.2 to AIX 4.1, 4.2 and 4.3 without transferring their home directories.

Related documentation

The AIX and RS/6000 product documentation library is also available:

Files that can be copied over

/etc/security/limits - AIX Versions 4.2 and 4.3 manually merge this file 
NOTE: Edit the passwd file so the root entry is as follows:
NOTE: In AIX Version 3.2, the initial program was /bin/ksh. You could install the bos.compat.links fileset.

When you copy the /etc/passwd and /etc/group files, make sure they contain at least a minimum set of essential user and group definitions.

Listed specifically as users are the following:

Listed specifically as groups are the following:

These users and groups are documented in Appendix D of the AIX Version 4.3 Installation Guide.

If the bos.compat.links fileset is installed, you can copy the /etc/security/mkuser.defaults file over. If it is not installed, the file belongs in the /usr/lib/security directory. The /etc/security entry is a symbolic link to /usr/lib/security.

If you copy over mkuser.defaults, changes must be made to the stanzas. Replace group with pgrp, and program with shell. A proper stanza should look like the following:

            pgrp = staff 
            groups = staff 
            shell = /usr/bin/ksh 
            home = /home/$USER 

The following files are different at AIX Version 4.x and CANNOT be copied over:

NOTE: Manually edit these files on the AIX Version 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. Edit the default stanza to contain the pw_restrictions entries formerly found in login.cfg (3.2.5).

In AIX 3.2 the password restrictions are applied universally. In AIX 4.x they can be applied individually. You may want to reevaluate which stanzas to modify. This is optional. You can also decide whether or not to implement any of the new features presented in the user file.

Once the files are moved over, execute the following:

    usrck -t ALL 
    pwdck -t ALL 
    grpck -t ALL 

This will clear up any discrepancies (such as uucp 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.x.

Migrating from AIX version 4.1 to 4.2 and 4.3

All of the files described in the preceding discussion can be copied directly, except the /etc/security/limits file. This now includes both soft and hard limits, so the file must be manually merged.

[ Doc Ref: 90605209114752     Publish Date: Spt. 05, 2000     4FAX Ref: 8242 ]