PreviousNext

Examining the Password File

The passwd_import command then proceeds to examine the password file for conflicts. As it begins, it displays the following:

Creating principal entries and accounts from password file.
(dce / sad)

When an entry is processed with no conflicts, passwd_import creates the principal in the registry, adds the principal to the appropriate group and organization, and creates an account for the principal. As it does this, it displays the following:

>> Adding Principal entry for: rje
>> Adding account for rje none.

The following example shows the warning message that is displayed when passwd_import finds a conflict:

CONFLICT: (bin 2)
- Principal name exists in registry and UNIX ids match.
(dce / sad)

>> Import Principal: - Ignoring name conflict, as instructed
(dce / sad)

This message notifies you that the account for bin exists in the registry. Both accounts remain unchanged even though the UNIX password file entry contains information that differs from the registry account.

Because the -i option is specified in the command used in the sample session, name conflicts are ignored. The following example shows the prompt from a name conflict that was found when passwd_import was run without the -i option:

CONFLICT: (daemon 1)
- Principal name exists in registry and UNIX ids match.
(dce / sad)

Do you wish to resolve the conflict (y) or skip this entry (n):

If you enter an n, the entry is skipped and processing continues. If you enter a y, passwd_import prompts you for the new name for the foreign principal, as follows:

Enter new name for principal "daemon" "1":