Results 1 to 2 of 2
Dear all
I have a strange problem
I ssh to a remote server using the username "madel" and it gives me a strange error:
Last login: Wed Sep 8 18:17:51 ...
- 09-08-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 8
chdir to home folder: permission denied when I use ssh
Dear all
I have a strange problem
I ssh to a remote server using the username "madel" and it gives me a strange error:
Last login: Wed Sep 8 18:17:51 2010 from greece.doe.carleton.ca
Could not chdir to home directory /home/madel: Permission denied
grep: /home/madel/.bashrc: Permission denied
Preparing your .bashrc for Linux
cat: /home/madel/.bashrc: Permission denied
mv: accessing `/home/madel/.bashrc.09.08.Sep.09': Permission denied
mv: accessing `/home/madel/.bashrc': Permission denied
chmod: cannot access `/home/madel/.bashrc': Permission denied
mkdir: cannot create directory `/home/madel/Desktop': Permission denied
cp: accessing `/home/madel/Desktop/.': Permission denied
I chcked the permissions using ls:
?--------- ? ? ? ? ? madel ls -l:
Now when I su to the root user the ls -l works fine and tell that "madel" is the owner of /home/madel
drwxr-xr-x 64 madel students 4096 Sep 7 21:26 madel
The strange thing is when I do sudo bash
and write cd ~/
it chdir to /home/madel
Can any one help me plzzzzzzzzzz
thanks in advance
Mina
- 09-09-2010 #2Just Joined!
- Join Date
- Sep 2010
- Posts
- 8
I just noticed something that can help
I am loging in to the server as domain user. means that my user name is not mentioned in the /etc/passwd file.
Can this help?
Thanx


Reply With Quote