AIX Open Source

 View Only
  • 1.  sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm installation error

    Posted Tue February 23, 2021 04:51 PM
    Hi
    I need a kind soul to help me on this:

    I am installing sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm on and AIX 7.2.5.1 without YUM.

    rpm -aq
    AIX-rpm-7.2.5.0-1.ppc

    I did a:

    rpm -Uvh \
    bash-5.0.18-1.aix6.1.ppc.rpm \
    gettext-0.19.8-1.aix6.1.ppc.rpm \
    glib2-2.56.1-2.aix6.1.ppc.rpm \
    info-6.6-2.aix6.1.ppc.rpm \
    libffi-3.2.1-3.aix6.1.ppc.rpm \
    libgcc8-8.3.0-4.aix7.2.ppc.rpm \
    libiconv-1.16-1.aix6.1.ppc.rpm \
    libstdcplusplus8-8.3.0-4.aix7.2.ppc.rpm \
    libunistring-0.9.10-1.aix6.1.ppc.rpm \
    ncurses-6.2-2.aix6.1.ppc.rpm \
    sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm \
    zlib-1.2.11-1.aix6.1.ppc.rpm

    and the error i received:

    error: Failed dependencies:
    libncurses.a(libncurses.so.5) is needed by gettext-0.19.8-1.ppc
    libgcc >= 6.3.0-1 is needed by glib2-2.56.1-2.ppc
    gettext >= 0.19.8.1-4 is needed by info-6.6-2.ppc
    libgcc >= 6.3.0-1 is needed by libffi-3.2.1-3.ppc
    gettext >= 0.19.8.1-1 is needed by libiconv-1.16-1.ppc
    libgcc >= 8.3.0 is needed by libunistring-0.9.10-1.ppc
    libgcc >= 8.3.0-1 is needed by ncurses-6.2-2.ppc
    libstdc++ >= 8.3.0-1 is needed by ncurses-6.2-2.ppc
    gettext >= 0.19.8.1 is needed by sudo_noldap-1.9.5p2-1.ppc

    Which fileset did I miss?

    Please advised

    Thank you

    ------------------------------
    SENG HIN POH
    ------------------------------


  • 2.  RE: sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm installation error

    Posted Tue February 23, 2021 10:37 PM
    Before upgrading , try running command  updtvpkg

    ------------------------------
    Nag N
    ------------------------------



  • 3.  RE: sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm installation error

    Posted Tue February 23, 2021 11:42 PM
    Hi
    updtvpkg was ran and it generated AIX-rpm-7.2.5.0-1.ppc.rpm The error occurred after that. Any other advice?

    ------------------------------
    SENG HIN POH
    ------------------------------



  • 4.  RE: sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm installation error

    Posted Wed February 24, 2021 11:25 AM
    Got it. These are the filesets

    libgcc-8.3.0-2.ppc
    libstdc++-8.3.0-2.ppc
    ncurses-6.2-2.ppc
    libmpc-1.1.0-1.ppc
    xz-libs-5.2.5-1.ppc
    libgomp-8.3.0-2.ppc
    libxml2-2.9.10-1.ppc
    gcc-cpp-8.3.0-2.ppc
    gettext-0.20.2-1.ppc
    info-6.6-2.ppc
    sudo_noldap-1.9.5p2-1.ppc
    AIX-rpm-7.2.5.0-2.ppc
    zlib-1.2.11-2.ppc
    gmp-6.1.2-1.ppc
    mpfr-4.0.2-2.ppc
    libffi-3.2.1-3.ppc
    glib2-2.56.1-2.ppc
    libtextstyle-0.20.2-1.ppc
    libunistring-0.9.10-1.ppc
    libiconv-1.16-1.ppc
    bash-5.0.18-1.ppc
    gcc-8.3.0-2.ppc

    ------------------------------
    SENG HIN POH
    ------------------------------



  • 5.  RE: sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm installation error

    Posted Thu February 25, 2021 11:00 AM
    Hi,

    We are getting sudo vulnerability on AIX and for that first we need to update sudo version to 1.9.5p2 on all AIX servers (CVE-2021-3156).
    However we are running less than 1.9.5p2 on all AIX servers. Could you please help us how we should proceed on that? 
    If we use rpm installation method it ask lot of dependency, Any early response would be highly appreciated. 
    Because we have to do this installation across all servers, Is there any validation check?

     

    Reference CVE: https://nvd.nist.gov/vuln/detail/CVE-2021-3156 


    Manoj



    ------------------------------
    Manoj Kumar
    ------------------------------



  • 6.  RE: sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm installation error

    Posted Mon March 22, 2021 10:20 AM
    From where did you install previous sudo? 
    Is it in rpm format. From AIX toolbox there are two sudo version.
    One sudo and other is sudo_noldap but both has other RPM dependencies one lesser than other.
    To make AIX toolbox sudo work you will have to install all the required dependencies. 
    There is yum available on AIX to install and resolve the dependencies. 
    If you wish you can also get sudo from sudo.ws which is in installp format but that may not be compatible with AIX toolbox packages. 
    https://www.sudo.ws/download.html#binary

    ------------------------------
    SANKET RATHI
    ------------------------------