LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to setup a Solaris NIS client while with a Linux NIS server? (https://www.linuxquestions.org/questions/linux-general-1/how-to-setup-a-solaris-nis-client-while-with-a-linux-nis-server-164465/)

ntcm 03-31-2004 03:54 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

trickykid 03-31-2004 06:10 AM

You posted this same question 4 times. We don't even allow you to post the same question twice. Didn't you read our rules you agreed to when registering? This is not posting more than once now but clearly just spamming our site. There is no need to post the same question more than once on the same site, its just uncalled for.

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 09:59 AM.