AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Can't sudo to root on AIX 7.2

    Posted Tue September 13, 2022 01:00 PM
    Hi

    Please help. I was able to sudo to root. 

    # lslpp -L sudo.rte
    Fileset Level State Type Description (Uninstaller)
    ----------------------------------------------------------------------------
    sudo.rte 1.9.7.2 C F Configurable super-user
    privileges runtime
    ... 

    # sudo su -
    sudo: Account expired or PAM config lacks an "account" section for sudo, contact your system administrator
    sudo: a password is required

    ------------------------------
    Edward Pang
    ------------------------------


  • 2.  RE: Can't sudo to root on AIX 7.2

    Posted Thu September 15, 2022 10:06 AM
    Try with AIX Toolbox sudo.

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Can't sudo to root on AIX 7.2

    Posted Fri September 16, 2022 02:03 AM
    Hi.
    I never used the sudo.rte. But did you try:
    sudo -i 

    I think you don't have rights to run su as root. This is IMHO as it should be

    ------------------------------
    Ane-Pieter Wieringa
    ------------------------------