Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power


#Servers
#Opensource
 View Only
  • 1.  sudo fails on AIX 7.2 when forking a process

    Posted 03/19/19 09:51 AM

    Originally posted by: antenore


    When I run a script like:

     

    #!/bin/bash

    su - username "-c sleep 1000 &"

    With sudo the sleep is killed at the end of the script, running ot dorecthly with root it works.

     

    On a LInux server, with the same sudo/sudoers setup, everything works as expected.

     

    The main issue is that we cannot start anymore Websphere servers beacuse of this issues (with the script) and we are obliged to login as the WAS user.

    # lslpp -L USFSsudo.rte
      Fileset                      Level  State  Type  Description (Uninstaller)
      ----------------------------------------------------------------------------
      USFSsudo.rte              1.8.20.2    C     F    Sudo V1.8.20p2 NOEXEC none

     

    # oslevel -s

    7200-03-02-1846

     

     

    Thanks!


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: sudo fails on AIX 7.2 when forking a process

    Posted 03/20/19 10:01 AM

    Originally posted by: AyappanP


    This is not AIX Toolbox sudo package. 


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: sudo fails on AIX 7.2 when forking a process

    Posted 03/20/19 10:36 AM

    Originally posted by: antenore


    Yes, that's true, but I've found the root cause of the problem, that is this upstream bug:

     

    http://bugzilla.sudo.ws/show_bug.cgi?id=502

     

    Therefore we are upgrading the sudo package on our servers.

     

    So far so good, it works!

     

    So I'm goin to close this question, thanks a lot for your support


    #AIXOpenSource
    #AIX-Open-Source-Software