Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    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

  3. #3
    Just 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

  4. #4
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...