Quote:
Originally Posted by spankbot
I have a local user account which is unusable. via ssh or su
All I get is:
Interactive Shell not available.
and then disconnect. I used the pwck but it found no issues.
This is Centos 6.
|
If you have "finger" installed, run the finger command against that user.
look at the shell, and see if that is one of the installed and authorized shells. This check does not find invisible characters.
Also, or instead, you can run
Code:
cat -vte /etc/passwd|grep ^USER
where USER is replaced with
the logon name of the user. The shell should be between the last ":" on the line and the "$" that marks
the end of the line.
Examine the shell for correctness, and missing or additional characters. This test will find invisible characters.
Please come back here and let us know what you find out.