Solved

error using 'su'

Posted on 2009-07-16
1
287 Views
Last Modified: 2013-12-19
Hi, I'm logged in as root on RHEL 5.3.  I'm trying to su as an oracle user as follows:
[root@hostname]# su - oracle
without entering password I get the following:
bash [oracle=oracle] # command not found
[oracle@hostname]$
I still get to the oracle account, but why do I get the error.  

Thanks

Pete
0
Comment
Question by:Pete-Castillo
1 Comment
 
LVL 40

Accepted Solution

by:
mrjoltcola earned 125 total points
Comment Utility
Possibly an error in the .profile or .bash_profile of the oracle account

Or if not an error, the PATH is not set correctly and a command is not found

Still start with the .bash_profile

0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now