LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   All users SSH -> YES ... All users Console -> NO (https://www.linuxquestions.org/questions/linux-server-73/all-users-ssh-yes-all-users-console-no-808661/)

kspann 05-18-2010 01:40 PM

All users SSH -> YES ... All users Console -> NO
 
First off, I am a super Newbie, so I apologize ahead of time. I have found many answers on this forum already. I have inherited a RedHat 5.4 server that is having an odd issue. Root and all of the user accounts can log in via SSH. Not a single account can log in via the console (sitting in front of the server). If I bring it up in single user made, I can log in with root all day long.

I want to say that this has something to do with PAM, but this is when I play my "Noob" card. Could anyone possibly steer me in the right direction to figure out what is going on?

kspann 05-18-2010 01:49 PM

Actually, come to think about it, I think it is almost surely related to PAM. To gain access to the "bricked" server, I had to modify the sshd_config file.

I commented out:
UsePAM yes

To:
#UsePAM yes

I was then able to SSH into the box.

kspann 05-26-2010 10:56 AM

Thanks for all the help.


All times are GMT -5. The time now is 05:35 PM.