AIX

 View Only
  • 1.  sudo not working when I directly login to AIX server.

    Posted Wed September 21, 2022 12:38 PM
    When I directly logging into my AIX server, Could not run sudo su - weblogic user it says invalid argument.
    where as when I logging to the same AIX server from other AIX machine I can able to run sudo su - weblogic., can some one suggest how / where I can check the configuration file to fix.

    Note: User ID which Im using logging into server is AD account but weblogic is local ID.


    $
    $
    $ sudo su - weblogic
    sudo: unable to execute /usr/bin/su: Invalid argument
    $
    $

    ------------------------------
    Tulasiram Morusu
    ------------------------------


  • 2.  RE: sudo not working when I directly login to AIX server.

    Posted Thu September 22, 2022 01:50 AM
    Not sure why would login from another AIX vs login directly make any difference. 
    How are you login directly vs from another AIX ? Are you using different protocol / user ? 

    Also wondering which sudo you are using and from where it was installed.

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



  • 3.  RE: sudo not working when I directly login to AIX server.

    Posted Fri September 23, 2022 01:19 AM
    I did not mention that I used AD account to login to server and switch to weblogic user which is local id, since there was AD user UID and GUID conflicts with local ID, I could not sudo su - weblogic. issue got resolved after changing the AD user UID and GUID.

    ------------------------------
    Tulasiram Morusu
    ------------------------------



  • 4.  RE: sudo not working when I directly login to AIX server.

    Posted Thu September 22, 2022 07:53 AM
    There is no sudo command on AIX.  Just use su - weblogic

    ------------------------------
    mike measel
    ------------------------------



  • 5.  RE: sudo not working when I directly login to AIX server.

    Posted Fri September 23, 2022 01:16 AM
    okay.

    ------------------------------
    Tulasiram Morusu
    ------------------------------



  • 6.  RE: sudo not working when I directly login to AIX server.

    Posted Fri September 23, 2022 09:44 AM

    You can install sudo from the open source repository.

    as root:

    dnf install sudo