AIX: "sudo" or "sudo -i" does not work

Newer sudo versions need entries in /etc/pam.conf, which are not present by default. Actually two different service names are used by sudo:

  1. "sudo": for listing of allowed commands and execution of commands without option "-i" (or "--login").
  2. "sudo-i": for execution of commandos using option "-i" (or "--login").

For a more detailed description see: https://powercampus.de/en/sudo-account-expired-or-pam-config-lacks-an-account-section-for-sudo-2/

To view or add a comment, sign in

More articles by Armin Schmidt

  • AIX Trusted Installation Reloaded

    Starting with AIX 7.3 TL1, there is a new procedure for AIX Trusted Installation that replaces the Digital Signature…

  • Some Download Links for AIX Software

    There are several sources for software for AIX. Depending on whether the software you are looking for is the operating…

    3 Comments
  • Connecting a Power 10 eBMC system to an HMC

    This blog post will show how to connect a Power 10 eBMC managed system to an HMC. The necessary steps are shown once…

    1 Comment
  • Status of LPARs

    With the LPAR tool, the status of one, several or all LPARs can be easily determined using the “lpar status” command…

    3 Comments
  • NTP Configuration on HMC with LPAR tool

    The current status of NTP on an HMC can then be displayed using “hmc lsntp“: $ hmc lsntp NAME   XNTP    XNTPSTATUS…

  • History Expansion bash

    Many AIX and UNIX users use bash as their preferred shell. Navigating in the history with the cursor keys is certainly…

    4 Comments
  • The Command chrctcp

    On AIX, the System Resource Controller (SRC) is used to control subsystems and subservers. Every AIX administrator is…

    2 Comments
  • Path to the executable of a running AIX process

    If a process was not started with an absolute path, it is surprisingly difficult to find out the absolute path for the…

    2 Comments
  • LPAR tool 1.7.0.1 is now available

    Version 1.7.

  • Udated: AIX-Lifecycle at your fingertips

    IBM has changed the URL for the FLRT Lite data file. From the old URL https://www14.

    2 Comments

Explore content categories