AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  LDR_PRELOAD not working on AIX 6.1

    Posted Tue September 16, 2008 01:05 AM

    Originally posted by: SystemAdmin


    Hello,

    I have an LDR_PRELOAD library which works fine on AIX 5.3. The library is loaded in programs and I can use it to override some system functions. I also have a script to set LDR_PRELOAD and start a program with it.

    The same exact script and library do nothing on AIX 6.1. It appears that the library does not even get loaded. It's _init function is never called.

    Is there something I need to configure or install to make LDR_PRELOAD work on AIX 6.1?
    #AIX-Forum


  • 2.  Re: LDR_PRELOAD not working on AIX 6.1

    Posted Fri January 30, 2009 03:44 AM

    Originally posted by: l2abe


    Starting from AIX 6.1 there is a new security features called Enhanced RBAC (Role Based Access Control).
    It is enabled by default, look for
    1. lsattr -El sys0 |grep RBAC
    enhanced_RBAC true Enhanced RBAC Mode True

    Try disabling it by running
    1. chdev -l sys0 -a enhanced_RBAC=false

    followed by a system reboot!!!
    In this way you return to the 5.3 Legacy RBAC mode and that should work as before.
    Further details about RBAC are in the official AIX 6.1 docs.
    A quick overview in this Technote
    #AIX-Forum


  • 3.  Re: LDR_PRELOAD not working on AIX 6.1

    Posted Fri January 30, 2009 03:46 AM

    Originally posted by: l2abe


    Starting from AIX 6.1 there is a new security features called Enhanced RBAC (Role Based Access Control).
    It is enabled by default, look for
    1. lsattr -El sys0 |grep RBAC
    enhanced_RBAC true Enhanced RBAC Mode True

    Try disabling it by running
    1. chdev -l sys0 -a enhanced_RBAC=false

    followed by a system reboot!!!

    In this way you return to the 5.3 Legacy RBAC mode and that should work as before.

    Further details about RBAC are in the official AIX 6.1 docs.
    A quick overview in this LAB Technote
    Thre is also a RedBook AIX V6 Advanced Security Features Introduction and Configuration
    #AIX-Forum