I had a similar problem after someone hacked in with a vunerable NAMED on a
system used as a firewall. I was not even able to login as root from the
console.
Verify that /bin/bash (size and date) are exactly as they are on the
original distribution you installed. Do the same for the login program as
well.
-=>Jim Roland
"Never settle with words what you can settle with a flamethrower."
--Anonymous
On Sun, 11 Jun 2000, V.Vasant wrote:
> Date: Sun, 11 Jun 2000 13:49:35 +0400 (RET)
> From: V.Vasant <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: A LINUX Puzzle!!!
>
> On Sun, 11 Jun 2000 [EMAIL PROTECTED] wrote:
>
> > Twaddle. I would be willing to bet a nickle ($US.05) that someone with
> > root privilege has done chmod -R a-x /home, and you are getting, for
> > users trying to log in,
> >
> > Unable to cd to /home/<user>
> >
> > and for root trying to su to <user>:
> >
> > bash: /home/<user>/.bashrc: Permission denied
> >
> > Note that the prompt does not now end in #, and you are now that user,
> > but you don't have its environment. You will be root again when you
> > exit.
> >
> > If this is the case, you can undo the damage he has done with:
> >
> > chmod -R a+x /home
> >
> > well, that is a little crude. It gives execute permissions to all files
> > and directories in /home. Maybe
> >
> > find /home -type d -maxdepth 1 -exec chmod a+x {} \;
> >
> > would be a better way to start repairing it. Also change the root
> > password to something hard to guess. :-) buddhu was hard enough in the
> > USA in 1980, but I wouldn't use it today. I might have misspelled it,
> > or perhaps used the wrong language. 1980 ia a long time ago.
> >
> > Regards,
> >
> > Lawson
>
> Well , it seems that isin't that easy . We've already tried it but the
> problem continues unabated... Also the message "Cannot run /bin/bash" has
> nothing to do with it!
>
> -V.Vasant
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs