Results 1 to 4 of 4
I was using a normal user named 'ORACLE'.
I created that with the home directory /oraeng/apps/....
Later i modified that as below
#usermod -d /oraeng/prod/...
It was successful
later when ...
- 01-26-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 10
User Login Error
I was using a normal user named 'ORACLE'.
I created that with the home directory /oraeng/apps/....
Later i modified that as below
#usermod -d /oraeng/prod/...
It was successful
later when i tried to login with that user it showed
#su -l oracle
-bash-3.1$
instead of
$
Can you think about this
- 01-26-2010 #2
Did/does the directory actually exist? I believe -d will allow you to assign the home directory and will NOT create it even if it doesn't exist
- 01-27-2010 #3Just Joined!
- Join Date
- Jan 2010
- Posts
- 10
yes i will write the directory structure before and after the error
before i create user oracle as follows
useradd -g oinstall -G dba -d /oraeng/apps/oracle/product/10.2.0 -m oracle
later i modified it as follows
usermod -d /oraeng/apps/oracle/product/ oracle
the after modifing i tried to login but it was an error given above
- 01-27-2010 #4Just Joined!
- Join Date
- May 2009
- Posts
- 4
User Login Error
@saleh_binmasood
do this
chmod 700 /oraeng/prod/
chown ORCALE.ORACLE /oraeng/prod/
Its a permission issue. Bash is not getting the right permissions to the directory to create the bash_history file and the bash_profile for you.


Reply With Quote