Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
Installing sudo on target AIX operating systems to apply maintenance as a non-root user
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.
Before you begin
Download the AIX installp image for the rpm package manager for POWER™. See the IBM® AIX Toolbox Download Web site for more information.
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.
Related tasks
Installing WebSphere XD
Installing refresh packs or fix packs
Installing interim fixes Downloading the Update Installer for WebSphere Application Server Version 6.1