bash: /etc/profile: Permission denied
I have had a minor pain today with login in to my server as a regular user. At first the PuTTY window closed as soon as I typed in my pw.
Figured that out after reading small hints here and there....: Change "UseLogin yes" (it was no) in "sshd_config"
Then when I did manage to get in I got this:
bash: /etc/profile: Permission denied
If I su <user> I also noticed that my user name (as the first part of the prompt) was: "I have no name"
Reading again.... The solution for me was to: chmod 755 /etc
So Im post this coz I see alot of pll have the same problem. And maybe this can help or give some pointers.
Edit: It should be 755 on /etc and not 744 as I posted at first.
Last edited by Kanon; 01-21-2005 at 08:01 AM.
|