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
- Download sudo from the IBM
AIX Toolbox Download Web site.
- 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.
- 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
- 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.