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

Re: [seul-edu] Alternatives to NIS



When you have figured this out send me the notes and I will include it in the
docs.

Bill

Quoting Dave Prentice <dprentice@uno.edu>:

> David,
>     I tried again and got partial success. The error messages had to do
> with missing files as make was doing its thing. There are no
> instructions with NIS, so I looked at the Makefile and figured out that
> a lot of files that were in /var/yp/NISdomaindirectory had to be copied
> to /etc. It would have been nice if there had been some documentation
> saying so. I figured it out by trial and error. After a reboot it is
> "sort of" working.
>     When I add users, do I use the regular adduser command, or is there
> a special version for NIS? I added a couple but when I login as root and
> try to give them a yppassword, the message comes up that I am an unknown
> user (ID 01). Do I first have to add a password for the user with the
> regular passwd program, or what? And how do I get NIS to recognize me as
> root?
> Thanks for the assistance.
> Dave Prentice
> prentice@instruction.com
> -----Original Message-----
>     From: David Woodhouse <dwmw2@infradead.org>
>     To: seul-edu@seul.org <seul-edu@seul.org>
>     Date: Thursday, October 26, 2000 4:41 AM
>     Subject: Re: [seul-edu] Alternatives to NIS
>     
>     
>     
>     Your error messages are a total mystery to me, given that you didn't
> bother 
>     to quote them. My ESP isn't working well today, but I'll have a
> go...
>     
>     If it's saying 'Entering directory /root' you need to set your 
>     nisdomainname first:
>     
>     # nisdomainname my-domain-name
>     
>     Now run make in the /var/yp directory. It'll whinge about not being
> able to 
>     update the local ypserv - hardly a surprise if you haven't started
> ypserv 
>     yet.
>     
>     If it complains about missing files, it's probably stuff you don't
> need 
>     (mine complains about the absence of /etc/aliases). Edit
> /var/yp/Makefile 
>     and remove the offending dependency from the 'all' target.
>     
>     Now start your yp server: 
>     
>     # service ypserv start.
>     
>     These instructions are based on RH7, but most systems will be
> similar 
>     enough that you can work it out.
>     
>     --
>     dwmw2
>     
>     
>     
>