Power Global

Power Global

A central meeting place for IBM Power. Connect, ask questions, share ideas, and explore the full spectrum of Power technologies across workloads, industries, and use cases.


#TechXchangePresenter
#Power

 View Only
  • 1.  sudo in aix

    Posted Wed March 02, 2022 01:22 PM
    HI Team,

    I have sudo package installed in aix. I have added sudo templated inside /etc/sudoers.d.
    But the Id is not getting sudo access as defined in the template.

    # oslevel -s
    7100-03-05-1524
    # rpm -qa | grep sudo
    sudo-1.6.9p23-2noldap
    #

     lines of sudoers file that include templates defined. Though in template I have no passwod defined, after giving password also it is saying the id not authorised to use sudo.


    # Samples
    # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
    # %users localhost=/sbin/shutdown -h now
    #includedir /etc/sudoers.d
    #include /etc/sudoers.d/010_STD_ALIAS_GLB
    #include /etc/sudoers.d/010_STD_NEG_GLB
    #include /etc/sudoers.d/010_STD_SA_GLB
    #include /etc/sudoers.d/152_CACF_EP_GLB
    #


    ------------------------------
    Avaya Kumar Mohanty
    ------------------------------