NIS + SSH problem

Roberto F. Brandao roberto at tdibrasil.com.br
Tue Mar 23 14:44:12 UTC 2004


Hello,

  I am getting a serious problem with NIS and SSH in a pack of Red Hat 8
servers. When a common user (not root) tries to open a ssh connection to
another server, I get the message "Connection to node2 closed by remote
host". 
/var/log/messages in NIS server shows:
ypserv[4683]:refused connect from 192.168.0.21:32776 to procedure
ypproc_all

/var/log/secure in client shows:
sshd[2793]: Accepted password for test from 192.168.0.11 port 32797 ssh2
sshd[2795]: fatal: login_get_lastlog: cannot find account for uid xxx

When using either ftp or telnet, it works fine. It also works fine for
root. I checked permissions for /etc/passwd: it is 644. There are no
blank lines neither in /etc/passwd nor /etc/shadow. /etc/hosts,
/etc/hosts.allow and /etc/hosts.deny looks fine. 

Can someone help me, please ?

Thanks in advance.

-- 
-----------------------------------------------
Roberto - roberto at tdibrasil.com.br
Tel: (19)3756-1200 - Cel: (19)9742-2210 





More information about the Redhat-install-list mailing list