Re: Help! Can't log in any more
On Thu, 24 Mar 2005 05:32, Kent West <westk@acu.edu> wrote:
> David Jarvie wrote:
> > Last night I was working on my Sarge system, running a self-compiled
version
> > of KDE 3.3, when suddenly I couldn't execute any commands or do anything
at
> > all under my user login. I was able to switch to a console and log in as
> > root, where things worked normally. But I couldn't 'su' to my user login.
> > I even rebooted the system, but that didn't help.
>
>
> > The symptoms are:
> >
> > 1) kdm still displays the login screen, but login fails after I try to log
> > in under my user account. There are messages in the log files about
missing
> > permissions on /tmp, /home/david, etc. I checked /tmp's permissions, and
> > they are still read-write-execute for everybody.
>
> /tmp should be:
> drwxrwxrwt 21 root root 7168 Mar 23 09:45 /tmp
It turns out that the root directory ('/') had its permissions set to
drwx------. I reset them to drwxr-xr-x and things work fine again. But how on
earth its permissions got changed in the first place, I have no idea.
Cheers,
David.
Reply to: