Can't login to server (pam problems)
Hi,
I was trying to set up a ldap client on my Debian Squeeze but suddenly i couldn't use sudo anymore over my ssh. When i go to my server and try to login it says: "Insufficient credentials to access authentication data" and when i try to login with root it doesn't work. I put in my debian cd and started in rescue mode and changed UsePam no in /etc/ssh/sshd_config Now i'm able to login with my username but i still can't use sudo so i don't have any rights. When i do sudo and enter my password it says: Sorry, try again. Is there an easy fix for this? |
Set: UsePAM no
in /etc/pam/sshd |
Quote:
|
Okay i'm able to login again. I changed all my files in /etc/pam.d/ (common-auth,...) and nsswitch.conf back to it's original.
|
All times are GMT -5. The time now is 03:43 PM. |