How do I import an /etc/passwd or /etc/group file

How do I import an /etc/passwd or /etc/group file from another box?


If the other box is non-AIX, copy the password and group entries for
the non-system users into AIX's /etc/passwd and /etc/group files.
Then run /bin/pwdck -t ALL. This will create the proper entries in
the shadow password file (/etc/security/users). You should also run
usrck and grpck.

To duplicate the password and group entries from another AIX box,
copy /etc/passwd, /etc/group, /etc/security/passwd, /etc/security/group,
/etc/security/user, /etc/security/limits, /etc/security/environ. The
last three are optional unless you modified them. If you modified
/etc/security/login.cfg, you should also copy that file.



Home FAQ