Solved

error using 'su'

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

930 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

12 Experts available now in Live!

Get 1:1 Help Now