Install and configure sudo, an open source product, on remote AIX® operating
systems to allow a non-root user to use sudo and run the slibclean command
without providing a password. The non-root user can then apply maintenance
to the remote AIX operating
systems.
About this task
As the root user, install and configure sudo, which is an open
source product, on the target AIX operating systems before a non-root
user can use the centralized installation manager to install or uninstall
maintenance on AIX operating
systems. 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 this task only once.
Procedure
- Download sudo from the IBM AIX Toolbox Download Web site. See
the IBM AIX Toolbox Download Web site for more information.
- Issue the following command to install sudo:
rpm
-i sudo-1.6.7p5-3.aix5.1.ppc.rpm
- 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:
user_id 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 user_id 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.
What to do next
Download the latest version of the Update Installer for WebSphere
Application Server and the binary files for the fix packs to your centralized
installation manager repository.