Bad Command Prompt (??)
Hello,
From the root user on my Linux Red Hat Enterprise 3 (ES) server, I type the following command to switch to the Oracle user: su - oracle I am switched to the Oracle user, but I also get the message: .bash:... bad command 1) What exactly does this mean ? The command seems to work regardless. PT |
it's probably because of the "-" in the command which should be simply "su oracle"
|
Quote:
sad (bad) one, too ... He must have something wrong in oracle's (the user oracle) ~/.bash_profile or something ... not using the real users environment is a bad idea because chances that root doesn't export things like ORACLE_HOME at all are quite high, and that will break other things he will be trying to do as that user ... Cheers, Tink |
Kludge ??
Hello,
What is a Kludge ? Do you suggest I remove the Oracle User and recreate a new Oracle User ? What happens to all the things I did/installed as the Oracle User before ? PT |
http://www.catb.org/jargon/html/K/kludge.html
And no, I don't suggest re-creating the user. I suggest you look through the initiation files of your shell, most likely ~/.bashrc and ~/.bash_profile for things that look fishy. Cheers, Tink |
All times are GMT -5. The time now is 10:34 PM. |