Discussion Locked

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

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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

2 replies

by cpfeiffe

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).

by collinsr123

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.

This discussion is closed to new replies.