Solved

error using 'su'

Posted on 2009-07-16
1
290 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
ID: 24869663
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.

749 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