AIX

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

    Posted 8 days ago
    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 8 days ago
    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 7 days ago
    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 8 days ago
    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 7 days ago
    okay.

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



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

    Posted 6 days ago

    You can install sudo from the open source repository.

    as root:

    dnf install sudo