If whoami shows labex and echo ~ does not return /home/labex, consider the following possibilities:
-
Home Directory Configuration: The home directory for the
labexuser might not be set correctly in the/etc/passwdfile. You can check this by running:grep labex /etc/passwdLook for the entry that corresponds to
labexand check the home directory path. -
Shell Environment Issue: There might be an issue with your shell environment. Try running:
echo $HOMEThis should also return the path to your home directory. If it doesn't, there may be a configuration issue.
-
Permissions: Ensure that you have the necessary permissions to access the home directory.
If everything seems correct but the issue persists, you may want to consult with a system administrator or check the system configuration. Let me know if you need more help!
