Re: Some users locked out of ssh and sftp?

Marcus Furlong
2005-03-12T01:06:07Z

Eve Emshoff wrote:

> Thus far, I've run across 1 user who can't sftp OR
> SSH. He's entirely locked out, despite having the
> correct username and password. He appears to be set up
> the same as well the others.
>
> Is there a file or some such I should edit and/or
> check to ensure he can get access? Anything to point
> me to in terms of what I can check in that he may
> *not* be set up the same as everyone else?

Check if there is something like

. ~/.bashrc

or

source .bashrc

in his .bash_profile, and if there is, then comment it out.

If that doesn't work, try temporarily renaming or deleting .bashrc
and .bash_profile, and then try to ssh again.

Marcus.