Solved

error using 'su'

Posted on 2009-07-16
1
289 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
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 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.

776 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