LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NIS problem? (https://www.linuxquestions.org/questions/linux-networking-3/nis-problem-164780/)

ntcm 03-31-2004 09:49 PM

NIS problem?
 
Hi all,

I've setup a Linux NIS server, and every user can login the Linux NIS clients authenticated by the server. But nobody is able to login the Solaris NIS clients.

I could see the users informations by typing "ypcat passwd" .I found that the NIS authentication on the Solaris client just didn't work. Because if I edited the nsswitch.conf like below:
passwd: nis
group: nis
and when I type "#ssh user1@localhost" , It told me this: "You don't exist, go away!",But I am sure I can see the user1's information by typing "ypcat passwd". So I thought that the Solaris client just wouldn't use the NIS authenticaing.

thanks.

ugge 04-01-2004 12:03 PM

Have you checked that the uid and gid on the solaris and the linux server match?
Check /etc/passwd and /etc/groups for matching uid/gid.
Also check file ownership, and that the uid/gid are correct there as well.


All times are GMT -5. The time now is 11:51 AM.