Additional requirement for installing or uninstalling maintenance on AIX as a non-root user

Before using the centralized installation manager (CIM) to install or uninstall maintenance on IBM AIX operating systems as a non-root user, you must install and configure sudo, an open-source tool, on the target AIX operating systems.

About this task

Complete the installation and configuration operations locally as the root user of the AIX operating systems without using centralized installation manager. You are required to complete the operations only once.

Procedure

  1. Download sudo from the IBM AIX Toolbox Download Web site.
  2. Issue the following command to install sudo:
    rpm -i sudo-*.rpm
    Note: Some newer versions of sudo might require other packages. In that case, download the package from the same Web site and install it using a similar command. For example:
    rpm -i openldap-*.rpm

    You can download an AIX installp image for the rpm package manager for POWER from the previous download Web site if your AIX machine does not already have rpm installed.

  3. Authorize a non-root user ID, which you specify, to run the slibclean command as a root user without providing a password. Issue the visudo command to add the following entry to the /etc/sudoers configuration file:
    userid ALL = NOPASSWD: /usr/sbin/slibclean
  4. Log in with the specified user ID, and issue the sudo -l command. If successful, a message that is similar to the following example is displayed:
    User userid may run the following commands on this host: (root) NOPASSWD: /usr/sbin/slibclean

    If you do not have sudo installed, or sudo is installed but not configured correctly for the specified user ID, error messages are displayed.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Feb 6, 2014 2:29:34 AM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-dist&topic=tins_cim_nonroot_aix
File name: tins_cim_nonroot_aix.html