#aix #ibm #unix #sudo #### **Step 1: Copy the Installation Files** Copy the following file from: `K:\Install\Prog\IBM\Sudo\sudoaix71.zip` to the **/tempdir** directory on the target machine. --- ### **Step 2: Install Required Packages** 1. **Unzip the file:** `unzip sudoaix71.zip cd aix7.1` 2. **Install dependencies:** `rpm –Uvh zlib-1.2.7-2.aix5.1.ppc.rpm rpm –Uvh openssl-1.0.1c-1.aix5.1.ppc.rpm rpm –Uvh openldap-2.4.23-0.3.aix5.1.ppc.rpm` 3. **Install gettext with --nodeps option (important: use double `-` for `--nodeps`):** `rpm -Uvh --nodeps gettext-0.17-1.aix5.1.ppc.rpm` 4. **Install sudo:** `rpm -Uvh sudo-1.8.6p3-1.aix5.1.ppc.rpm` --- ### **Step 3: Configure User Group and Permissions** 1. **Create an AIX administration group (`beheer`).** 2. **Add relevant users to the group `beheer`.** 3. **Modify the `/etc/sudoers` file:** - Add the following line: `%beheer ALL=(ALL) ALL` - Add the following line to log sudo usage: `Defaults /var/log/sudolog` --- ### **Step 4: Assign Users to the Correct Groups** Modify a user’s group assignments: `usermod -G <groupname> <user_name>` Example: `usermod -G staff,beheer acto_jwijk` - **`-g`** → Sets the **primary group** - **`-G`** → Sets the **secondary group** --- This setup ensures **sudo** is correctly installed and configured for **AIX users**, allowing secure privilege escalation while maintaining logs. 🚀 [[Sudo without Password]]