Find the answer to your Linux question:
Results 1 to 3 of 3
Hi folks, CentOS 4.4 amd64 Having problem on login as USER Server login : satimis Password : Code: ... No directory /home/satimis! Logging in with home = "/" - bash: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,804

    Problem on login as user


    Hi folks,

    CentOS 4.4 amd64


    Having problem on login as USER

    Server login : satimis
    Password :
    Code:
    ...
    No directory /home/satimis!
    Logging in with home = "/"
    - bash: /home/satimis./bash_profile: Permission denied
    - bash-3.00$
    - bash-3.00$ ls /home/
    Code:
    ls: /home/: Permission denied
    # ls -l /home | grep satimis
    drwx----- e satimis satimis

    # cat /home/satimis/.bash_profile
    Code:
    if [ -f ~/.bashrc ]; then
               . ~/.bashrc
    fi
    
    PATH=$PATH:$HOME/bin
    
    export PATH
    unset USERNAME
    Any suggestion to fix this problem? Tks


    satimis

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Posts
    90
    chown root:root /home
    and chmod 755 /home

    both the commands as root

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,804
    Quote Originally Posted by bhaslinux
    chown root:root /home
    and chmod 755 /home
    Hi bhaslinux,

    # ls -l / | grep home
    showing them exactly as advised above.

    The system was in disorder. I erased it and made a fresh installation. It is working now. I'll continue building the server.

    Tks.


    satimis

Posting Permissions

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