Installing or Upgrading Novell eDirectory on HP-UX 103novdocx (en) 6 April 2007/var/opt/novell/nici/set_server_modeNonroot User Installing NICINonroot users can make use of the sudo utility to install NICI. Sudo (superuser do) allows a rootuser to give certain users the ability to run some commands as root. For more information, refer tothe sudo Website (http://www.sudo.ws).WARNING: sudo enables you to give limited root permissions to nonroot users. Therefore, westrongly recommend you to understand the security implications before proceeding.A root user needs to complete the following procedure to enable a nonroot user (for example, john)to install NICI:1 Log in as root.2 Edit the /etc/sudoers file using the visudo command.NOTE: There is no space between vi and sudo in the command.Make an entry with the following information:Username hostname=(root) NOPASSWD: /usr/sbin/swinstallFor example, to enable john to run /sbin/swinstall as root on the hostname hpux-2, type thefollowing:john hpux-2=(root) NOPASSWD: /usr/sbin/swinstallA nonroot user (john in the example) needs to do the following to install NICI:1 Log in as john and execute the following command:sudo swinstall -s absolute_path_of_depot NOVLniu0For example:sudo swinstall -s /home/build/HPUX/HPUX/setup/eDirectory.depotNOVLniu02 Execute the following script:sudo /var/opt/novell/nici/set_server_modeNICI gets installed in the server mode.6.6.4 Installing eDirectory Components1 Install the eDirectory components.You can install the eDirectory components using the swinstall utility or nds-install.Using swinstallUse the swinstall utility to install eDirectory components on HP-UX systems. The utility addsthe required packages based on what components you choose to install.The eDirectory packages are contained in eDirectory.depot and the administration utilities arecontained in eDirectory-admutils.depot.