nis+ & ssh

dave t d_dave at hotmail.com
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:
#%PAM-1.0
auth       required     pam_securetty.so
auth       required     pam_stack.so service=system-auth
auth       required     pam_nologin.so
account    required     pam_stack.so service=system-auth
password   required     pam_stack.so service=system-auth
session    required     pam_stack.so service=system-auth
session    optional     pam_console.so


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