nis+ & ssh

dave t d_dave at
Mon Apr 11 18:04:20 GMT 2005

I am not able to ssh  into a RedHat box and authenticate via nis+. However, 
I'm able to telnet into the box and authenticate through nis+. Any ideas on 
how to configure sshd to authenticate via nis+.

My nsswitch.conf :

passwd:     files nisplus
shadow:     files nisplus
group:      files nisplus
hosts:      files nisplus dns
services:   nisplus [NOTFOUND=return] files
networks:   nisplus [NOTFOUND=return] files
protocols:  nisplus [NOTFOUND=return] files
rpc:        nisplus [NOTFOUND=return] files
ethers:     nisplus [NOTFOUND=return] files
netmasks:   nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
netgroup:  nisplus
publickey:  nisplus
automount:  files nisplus
aliases:    files nisplus

my /etc/pam.d/login:
auth       required
auth       required service=system-auth
auth       required
account    required service=system-auth
password   required service=system-auth
session    required service=system-auth
session    optional

my /etc/ssh/sshd_config:
SyslogFacility AUTHPRIV
X11Forwarding yes
Subsystem       sftp    /usr/libexec/openssh/sftp-server

uname -a:
Linux linuxbox 2.4.21-27.0.2.ELsmp

More information about the linux-nisplus mailing list