Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have tried changing permissions and I have looked for a solution, but the error still exists.In fact it gives me a different error every time I log in.

Could not chdir to home directory /home/rb27: Permission denied

here is a snippet of what I get when I use the command ls -al:

drwxr-xr-x 16 root root 0 Sep 8 18:28 .
drwxr-xr-x 23 root root 4096 Feb 5 2011 ..
d????????? ? ? ? ? ? ajd74
d????????? ? ? ? ? ? ban45
d????????? ? ? ? ? ? rb27

I cannot log in as root since the permission is denied Please help

share|improve this question
    
Will take note of that – ria Sep 9 '11 at 0:31
    
Not enough information here. How is the filesystem mounted? What has changed since the last time you logged in? Is this your personal system, do you have root access? – OldWolf Sep 9 '11 at 3:03
    
I don't have root privileges. I use the ssh secure client and it was working fine. I don't know what happened then – ria Sep 9 '11 at 3:11
    
You'll want to contact your systems administrator. – OldWolf Sep 9 '11 at 3:13
    
ok.Already did. Thanks a lot – ria Sep 9 '11 at 3:17

from your boot loader, give the following parameter to your Linux kernel:

init=/bin/sh

or

init=/bin/bash

Then go fix your permissions. You'll probably need to run fsck too.

share|improve this answer
    
init: Need to be root. This is the output I get. The command i used is chmod 755 /home/rb27.Please tell me if I'm doing something wrong – ria Sep 9 '11 at 0:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .