NIS problems

From: Ben Hearsum (bhearsum_at_gmail.com)
Date: 09/26/05


Date: Mon, 26 Sep 2005 09:53:38 -0400

I've been trying to setup NIS for the past 2 days and have had extreme
difficulty.

The server, and client I'm using to test with both run Debian. I've
followed the Debian NIS HowTo and the one on TLDP.

I'm at a bit of a loss because I cannot find _anyone_ that has had the
same problem as me. The client can ypcat any shared file, and 'ypmatch
bhearsum passwd' returns a result. But I still can't login as 'bhearsum'!

I've tried many many variations in /etc/nsswitch.conf

passwd: compat
passwd_compat: nis

OR

passwd: files nis

OR

passwd: nis

None of the above work. Am I missing something here? Does PAM have to be
NIS aware? Should I turn shadow passwords off?

Any suggestions are much appreciated.

- Ben



Relevant Pages

  • Re: NIS & yppasswd
    ... It's only from the client side that we are unable to change the password. ... And the only machine we have except the AIX NIS Master it's Linux box, with all the same configuration installed. ... What happens if they just use "passwd" on the clients to change their YP password? ...
    (AIX-L)
  • Cant change NIS+ password in NIS+ client
    ... I get some trouble about change NIS+ password in NIS+ clinet. ... When I try to change password in NIS+ client, ... NIS+ client -xxx- passwd ... And the more strange thing is passwd works fine in NIS+ server, ...
    (comp.unix.solaris)
  • RE: NIS User account? or crypt issue?
    ... Subject: NIS User account? ... I have been able to eliminate NIS as a possible problem. ... I took the NIS entry (ypmatch user passwd) && placed it into ... *) I tried to login but was still getting password failures. ...
    (RedHat)
  • Re: Problem changing local root password
    ... It's been ages, but if memory serves, using shadow passwords along with NIS tended to be problematic. ... If that still doesn't resolve te issue, try prepending the root record in the passwd file by a + sign. ...
    (RedHat)
  • NIS+ problem
    ... i've got a problem with nis+ it seems. ... passwd or nispasswd results in "permission ... passwd: smith does not exist ...
    (comp.unix.solaris)