[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NIS setup



Could be a couple things...the /etc/passwd file on the client machine needs 
"+::::::" put in it in order to recognize the NIS server accounts.  Also, I 
seem to recall that only uids > 1000 are allowed by default when using NIS, 
in Debian, but it's been a while and I can't test this anymore.  I also 
noticed a HOW-TO in /usr/doc/HOWTO that might help too.

On Friday 08 February 2002 01:29 am, Tom Cook wrote:
> Just wondering if anyone knows the answer to this (probably) stupid
> question:
>
> I have two boxes, one is set up as a NIS server (ypserv running) the other
> as a NIS client (ypbind finds the server OK).  I have users home
> directories mounted, I believe with the correct permissions.  Shadow
> passwords are not being used on the server.  I can 'ypcat passwd.byname'
> fine.  I have the following lines in /etc/nsswitch.conf:
>
> passwd:		compat
> group:		compat
> shadow:		compat
>
> passwd_compat:	nis files
> group_compat:	nis files
> shadow_compat:	nis files
>
> ...
>
> networks:	nis
>
> I can log in fine on the NIS server as a user that is in
> /var/yp/domainname/passwd.byuser but not on the client.  Is there some
> essential piece of information I'm missing on setting this up?
>
> Cheers
> Tom

-- 
Brian J. Zuk
brian@zukland.com
www.zukland.com



Reply to: