newb problem
Okay so I am new to this whole thing and trying to learn. When is SSH to my box I am getting the following at the prompt
Could not chdir to home directory /root: Not a directory -bash: /root/.bash_profile: Not a directory I don't know what caused it. Is there a way to chmod it so it sees it as a directory instead of a file. It is still there just as a file instead of a directory. Anyhelp would be appreciated. RC |
Are you logging in as root or a user? Apparently its not finding a home directory for the user your logging in as and trying to login to /root as a fallback per se...
If you are trying to login as root, bad security practice/technique and should be avoided. |
I believe that I did login as root. I usually don't because of that reason. I just don't know what happened to cause that directory to actually become a File or how to fix it back.
RC |
Check and make sure the entry for root in your /etc/passwd file isn't trying to use /root/.bash_profile as the home directory as root then..
|
All times are GMT -5. The time now is 07:39 PM. |