General discussion

Locked

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

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

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

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

by cpfeiffe In reply to $HOME not being set by lo ...

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

Collapse -

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

by collinsr123 In reply to $HOME not being set by lo ...

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.

Back to Linux Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums