CentOs6/RHEL6 ssh without PAM problem If you want to disable PAM authentication on ssh, you can get error that are unable to find shadow for the user. You need to disable/remove selinux because it’s blocking sshd to access /etc/shadow