The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #8 (permalink)  
Old 05-01-2008
prichard prichard is offline
Registered User
 

Join Date: Mar 2008
Posts: 26
You can get a pre-compiled version of sudo for AIX at

IBM AIX Toolbox Download Page - Alphabetical Listing

You install with "rpm -i sudo*rpm"

(If you don't have rpm.rte installed on your OS you will need that first to install the sudo rpm.)

Now my memory is a little fuzzy but the following should work:

Enter "visudo" and add the line:

username hostname=/usr/bin/mksysb

:wq to write and quit visudo

Now the user would enter the command "sudo mksysb" and it will prompt for the users password and log what has happened in the syslog.

Last edited by prichard; 05-01-2008 at 01:58 PM. Reason: Added more detail, corrected some spelling.
Reply With Quote