Skip site navigation (1)Skip section navigation (2)
Date:      14 Oct 2005 09:03:15 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Michael Jeung <mjeung@cisdata.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NIS on FreeBSD 5.4/4.11
Message-ID:  <44u0fkdze4.fsf@be-well.ilk.org>
In-Reply-To: <7EF2E28D-9B5C-4D25-A7FE-B13B2CEC086B@cisdata.net>
References:  <7EF2E28D-9B5C-4D25-A7FE-B13B2CEC086B@cisdata.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Jeung <mjeung@cisdata.net> writes:

> Good evening all,
> 
> I am desperately trying to get NIS working in my FreeBSD 5.4 and 4.11
> environment - specifically, I'm trying to get NIS set up such that a
> NIS client is able to change the password for an account.
> 
> Like a good little rabbit, I have followed, step-by-step the NIS
> guide in the handbook:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-
> nis.html
> 
> In my test environment, I have two servers set up: BoxA and BoxB.
> BoxA is the NIS Master running 5.4, BoxB is the NIS client running
> 4.11.   I have created a NIS user named "charlie" on BoxA.   I am
> able to log into BoxB as charlie.  Great so far, right?  ypcat
> demonstrates that the correct user on BoxB is coming down and ypwhich
> passwd shows that BoxA is BoxB's daddy.
> 
> Now, I want to be able to change "charlie"'s NIS password while I'm
> logged into BoxB.  Here's where I run into problems.  Whenever I run
> yppasswd or passwd as charlie, I get "Permission Denied."  I know
> I've run into this error before (without ever being able to fix it)
> and after googling for quite some time, I've been unable to find
> anyone else who seems to be running into this problem -- but I know
> other people must have encountered this before, because I'm not doing
> anything fancy.  This is the most vanilla install of NIS I can create.
> 
> If anyone has any hints on where I should look from here, I would
> very much appreciate it!

I just set it up yesterday with no problem, working from the same doc.
Have you got yppasswdd running?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44u0fkdze4.fsf>