LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to setup a solaris NIS client while with a Linux NIS server? (http://www.linuxquestions.org/questions/linux-networking-3/how-to-setup-a-solaris-nis-client-while-with-a-linux-nis-server-164462/)

ntcm 03-31-2004 03:52 AM

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

Half_Elf 03-31-2004 07:51 AM

STOP DOUBLE POSTING!!!
You posted this at least four time, what's the point of it???


All times are GMT -5. The time now is 04:32 PM.