How to setup a solaris NIS client while with a Linux NIS server?
Hi, all,
I've setup a Linux NIS server, and everyone can login the Linux NIS clients with NIS authentication.
But while I finished building the Solaris NIS client, I could see the users informations by typing "ypcat passwd". But everyone just couldn't login the Solaris NIS client.
I built the Solaris client(Solaris8.0 Sparc) following the steps below:
1.#cp /etc/nsswitch.nis /etc/nsswitch.conf
2.#vi /etc/hosts
I added the entry for the Linux NIS server.
3.#domainname testnis.com
4.#domainname > /etc/defaultdomain
5.#ypinit -c
6#/usr/lib/netsvc/yp/ypstart
7.Testing the nis client
# rpcinfo -u localhost ypbind
program 100007 version 1 ready and waiting
program 100007 version 2 ready and waiting
program 100007 version 3 ready and waiting
# ypcat passwd
web:!!$1$QDgnOI4I$t10VMftwU.B8Q4bqJRmiN1:1121:48:web:/var/www/html/:/bin/bash
qinx:$1$rZ24.QM/tq2K6Gl9G1CU28X/RVzwI.:1127:501::/home/qinx:/bin/csh
........
What's the matter?
Thanks a lot!
Syroad
|