Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using AIX 5.3, after I login as an Oracle user, I got a prompt to ask me to give the oracle home directory. If I manually type in ". .profile", it would work.

My AIX team has built this new LPART for me, so I am wondering if there is a setting in AIX that cuased this error.

Thanks so much for your responses!

share|improve this question
    
what's your shell? as stated in /etc/passwd – Rich Homolka Oct 22 '12 at 22:31
    
it is a korn shell: oracle:!:500:1002:Oracle:/home/oracle:/usr/bin/ksh – Dave Oct 24 '12 at 18:12

How are you logging in as the Oracle user?

If you are using 'su oracle' you should issue 'su - oracle'

That will create a new shell and load .profile.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .