Error message of passwd had "2" usages of 0, but expected 1, when installing RSA Identity Governance & Lifecycle
2 years ago
Originally Published: 2018-09-13
Article Number
000041276
Applies To
RSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition: 7.0+
Issue
When attempting to install RSA Identity Governance & Lifecycle, the following message is reported, and the installation stops.
------------------------------------------------------------------------------------------ 

Pre-Requisites Test (s) failed with the following message(s): 

passwd had "2" usages of 0, but expected 1 

------------------------------------------------------------------------------------------ 
Quitting installation due to system does not meet requirements

 
Cause
More than one user in the Linux /etc/passwd file has a User ID of 0.

Login as root and examine the passwd file.  For example:
# grep ":0:" /etc/passwd
root:x:0:0:root:/root:/bin/bash
vroot:x:0:0::/home/vroot:/bin/bash
In this example, there are 2 users with the User ID of 0:  root and vroot.
Resolution
  1. Remove the non-standard user with a User ID of 0.  For example:
    # userdel -r vroot
  2. Remove the files from the failed installation, by following the steps in knowledge article 000036717 - How to uninstall RSA Identity Governance & Lifecycle.  Please note that you may not need to do step 3 (Change the user and group to the expected IDs).
  3. Re-attempt the installation of RSA Identity Governance & Lifecycle product.
Workaround
As only one user with a User ID of 0 is a prerequisite for installing RSA Identity Governance & Lifecycle, there is no workaround.