Power

 View Only
  • 1.  About using sudo

    Posted Mon July 24, 2023 02:50 AM

    I would like to use sudo in the AIX7.2 environment.

    It is recognition that it cannot be used in the standard installation.
    Could you tell me the procedure for using sudo?
    (Necessary packages, settings, etc.)



    ------------------------------
    Ryota Watanabe
    ------------------------------


  • 2.  RE: About using sudo

    Posted Tue July 25, 2023 02:16 AM

    Hi,

    As far as I known, you just have to add line in /etc/sudoers files like this one to allow members of a group.

    ## Uncomment to allow members of group wheel to execute any command
    %wheel ALL=(ALL) ALL

    .



    ------------------------------
    -----------------------------------
    Thierry Huché
    Power Systems Brand Technical Specialist
    IBM France
    -----------------------------------
    ------------------------------



  • 3.  RE: About using sudo

    Posted Thu August 24, 2023 09:42 AM

    Thank you for replying.

    First of all, AIX recognizes that the standard sudo package is not introduced.
    Is it possible to tell me how to install the package?



    ------------------------------
    良太 渡邉
    ------------------------------



  • 4.  RE: About using sudo

    Posted Thu August 24, 2023 04:30 PM

    You can install sudo from the AIX toolbox.

    First install "DNF" (which is a newer tool like "yum")  and then use DNF to install sudo  - dnf will work out all of its dependencies.

    See https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=recentcommunityblogsdashboard


    Getting started with the toolbox  https://www.ibm.com/support/pages/node/6585774

    However, DNF (and probably sudo) depend on having up-to-date versions of OpenSSL and OpenSSH - the native AIX packages.

    A minimum is probably openssl_1.1.1.1202 but that might not be enough.



    ------------------------------
    Michael Shon
    ------------------------------



  • 5.  RE: About using sudo

    Posted Thu October 05, 2023 11:07 AM

    Thank you for replying.
    First, we will check whether sudo can be installed based on the instructions you provided.



    ------------------------------
    良太 渡邉
    ------------------------------