General discussion

  • Creator
    Topic
  • #2313789

    $HOME not being set by login (set to / )

    Locked

    by collinsr123 ·

    For some reason the $HOME is not being set during a telnet login. It does work when I su from root for example and set up another bash shell

All Comments

  • Author
    Replies
    • #3458895

      $HOME not being set by login (set to / )

      by cpfeiffe ·

      In reply to $HOME not being set by login (set to / )

      If it works when you login as root and su to the user, but doesn’t work when you login as the user, then the user doesn’t have permissions to read their own profile. Check the permissions on the user’s home directory and on the user’s .bashrc (or any other profile specific files).

    • #3538603

      $HOME not being set by login (set to / )

      by collinsr123 ·

      In reply to $HOME not being set by login (set to / )

      The permissions of the user’s home directory and files seem to be okay. I checked the atime of the user’s .profile and .bashrc The .profile never gets touched and .bashrc only does after the su and not with the telnet.

Viewing 1 reply thread