Estranhamente, em uma instalação do RHEL6.5, as permissões do diretório duas-entradas impediram o login:
% ssh dvpsmf
[email protected]'s password:
Last login: Wed Feb 3 11:08:03 2016 from 10.14.107.212
Could not chdir to home directory /osp/local/home/blah: Permission denied
$
$ ls -ld --context / /osp /osp/local /osp/local/home
ls: cannot access /osp/local/home: Permission denied
dr-xr-xr-x. root root system_u:object_r:root_t:s0 /
drwxr-xr-x. root root system_u:object_r:etc_runtime_t:s0 /osp
drwxr-x--- abcde osp ? /osp/local
$
$ sudo ls -ld --context / /osp /osp/local /osp/local/home
dr-xr-xr-x. root root system_u:object_r:root_t:s0 /
drwxr-xr-x. root root system_u:object_r:etc_runtime_t:s0 /osp
drwxr-x--- abcde osp ? /osp/local
drwxr-x--- abcde in ? /osp/local/home
$
O usuário já era membro do grupo in - adicionando ao grupo osp login fixo