Unanswered: Unable to connect to oracle with different OS user accout
I have installed oracle on Ubuntu with OS user oracle. When I try to connect to oracle with logged on as different OS user (other than oracle), I get error SQL> connect user1/user1@orcl ORA-12154: TNS:could not resolve the connect identifier specified
However, if I don't mention oracle SID then i don't get any error. SQL> connect user1/user1 Connected to: Oracle Database SQL>
I have declared ORACLE_HOME & SID in the user profile. But it did not work. Can someone please help me to understand the issue.