Database

Get Involved. Join the Conversation.

Topic

    Dragos Vilcu
    DB on VM question (password for oracle OS user ? )Answered
    Topic posted July 15, 2019 by Dragos VilcuRed Ribbon: 250+ Points, last edited July 15, 2019, tagged DBaaS, DBCS, Doc 
    49 Views, 1 Comment
    Title:
    DB on VM question (password for oracle OS user ? )
    Content:

    Hello  , 

    I have created a DB on VM in an OCI tenancy
    what is the password for oracle OS user ? I didn't recall being asked for it when creating the DB on VM in the OCI console

    Thank you,

    Dragos

     

    Best Comment

    Simon Law

    Hi Dragos,

    Similar to the OS user opc, there is no password for oracle.  
    To log in as oracle, you can log in as opc and then switch to oracle using sudo, see here for example.

    If you want to enable SSH private key login for oracle, say using the same key as opc, you can manually replace the oracle authorized keys file in /home/oracle/.ssh/authorized_keys with the one in /home/opc/.ssh/authorized_keys 

    -Simon
       

    Comment

     

    • Simon Law

      Hi Dragos,

      Similar to the OS user opc, there is no password for oracle.  
      To log in as oracle, you can log in as opc and then switch to oracle using sudo, see here for example.

      If you want to enable SSH private key login for oracle, say using the same key as opc, you can manually replace the oracle authorized keys file in /home/oracle/.ssh/authorized_keys with the one in /home/opc/.ssh/authorized_keys 

      -Simon