I am trying to setup an NIS domain to handle the user accounts on the network.
I have a master NIS server named hermes and a slave server named kif and a client named hubert.
I went through and performed the instructions in the FreeBSD Handbook.
After I got it all 'running', I created a user account on hermes (NIS-M) to test if it was all working.
then issued this command:
Everything updated and the push to kif (NIS-S) even worked save the shadow files...
I then issued this on the Client machine (hubert)
But when I try to log into hubert with the account I am refused.
Any pointers?
Auth.log says:
I have a master NIS server named hermes and a slave server named kif and a client named hubert.
I went through and performed the instructions in the FreeBSD Handbook.
After I got it all 'running', I created a user account on hermes (NIS-M) to test if it was all working.
Code:
adduser
Username=test.account
Password=test
then issued this command:
Code:
cat /etc/master.passwd | grep test >> /var/yp/master.passwd
cd /var/yp
make
Everything updated and the push to kif (NIS-S) even worked save the shadow files...
I then issued this on the Client machine (hubert)
Code:
[ROOT@hubert]/etc/rc.d-> ypcat master.passwd | grep test
test.account:$1$QcSCj.tA$TyxLNeyr2YhZNGzLBVxBE0:1011:1011::0:0:Test Account:/home/test.account:/bin/csh
But when I try to log into hubert with the account I am refused.
Any pointers?
Auth.log says:
Code:
Jan 21 15:46:01 hubert sshd[32737]: error: PAM: authentication error for illegal user test.account from 192.168.1.2
Jan 21 15:46:01 hubert sshd[32737]: Failed keyboard-interactive/pam for invalid user test.account from 192.168.1.2 port 55983 ssh2