Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Can't Authenticate Linux OS Account to Oracle DB in Virtual Machine

3151953Nov 16 2017 — edited Nov 16 2017

Hello! I'm fairly new to working with Oracle databases and I am learning by playing around with the Virtual Box and preloaded VM from http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html. That said, I'm trying to accomplish something I initially thought would be very simple: I want to get into the linux shell, type in "sqlplus / as sysdba" as the linux OS oracle user, and then log into the Oracle database that was provided. However, when I do this, it simply says:

ERROR:

ORA-01017: invalid username/password; logon denied

Yet for as much research as I have done, I can't seem to find the answer. I have made sure that oracle is in the dba group and the environment is already set up for ". oraenv" (after all, this is a prebuilt machine). I am able to connect to the database as system with the password "oracle" without any issues, and I can also connect through Linux with limited access if I type in "sqlplus", then enter the username and password for system.

What am I doing wrong here? Why can't I access the database as oracle through linux SQLPLUS? I would appreciate any help!

This post has been answered by Dude! on Nov 16 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 14 2017
Added on Nov 16 2017
8 comments
4,605 views