Search code examples
solarisinstallation-packageiplanet

nsuser user ID is not properly defined to the system. Aborting install


I am trying to install iPlanet pacakage on a Solaris dev box using pkgadd. When I run it it gives me "nsuser user ID is not properly defined to the system. Aborting install." and installation fails. I am not sure what the error really means and how to fix it. I t would be a great help if someone could point me to the right direction.

Thanks.


Solution

  • I found out that the installation script checks for nsuser in /etc/passwd and nsgroup in /etc/group. I edited those files to add nsuser and nsgroup.

    in /etc/passwd i added nsuser:x:(nsuser id):(nsgroup id):(user name):/home/nsuser:/usr/bin/ksh

    in /etc/group I added nsgroup::(group id):nsuser

    And that's it. Re installed the package and it works.