UPDATE: Rebuilding NIS Map on server

From: Min Oo Tint (min@psde.mec.mei.co.jp)
Date: Tue Apr 23 2002 - 07:10:22 EDT


Hi,

resolved it, I made a silly mistake with entry in the group file.
It had an additional space after the last user name.

Min

-----Original Message-----
From: Jason Husk [mailto:Jason.Husk@corp.infi.net]
Sent: Tuesday, April 23, 2002 12:09 PM
To: Min Oo Tint
Subject: Re: Rebuilding NIS Map on server

Did you run a yp make? You need to do that everytime you update your nis
maps.

: - > cd /var/yp
: - > sudo make
(note I use sudo to run commands as root when you run the make you should
be logged in as root or using something like sudo to run commands as
root).

Doing this will nicely re-build your maps without an interruption on
service.

-- 
Jason T. Husk
Email: Jason.Husk@corp.infi.net
URL  : http://www.infi.net
On Tue, 23 Apr 2002, Min Oo Tint wrote:
> Date: Tue, 23 Apr 2002 11:35:53 +0100
> From: Min Oo Tint <min@psde.mec.mei.co.jp>
> To: "Sun Managers (E-mail)" <sunmanagers@sunmanagers.org>
> Subject: Rebuilding NIS Map on server
>
> Hi,
>
> I have a problem, recently added new groups and users then did make all or
> make <nis server>
> to update the new entries, unfortunately it failed to update the group
> entries.
> I know think NIS (not NIS+) map is corrupted. Below is what I did.
>
> getent group vesato
>
> return nothing but
>
> ypcat -k group
>
> mn66730
> mn66730::103:kevinr,stewartb,mn66730,tim,root,cdinst,min,robertw,vesato
> mn66720
> mn66720::102:kevinr,stewartb,mn66720,tim,root,cdinst,min,robertw,vesato
> cvsadm cvsadm::104:cvsadm,root
> cdinst cdinst::101:root,cdinst
>
> My question is how do I rebuild the NIS map with out bringing down the
> server and
> disturbing other users and their work?
>
> Regards,
>
>
> Min Oo Tint
>
> Panasonic System LSI Design Europe (PSDE)
> A Division of Matsushita Electric Europe (HQ) Ltd.
>  <<Min Oo Tint (Business Fax).vcf>>
>
> [demime 0.99c.7 removed an attachment of type application/octet-stream
which had a name of Min Oo Tint (Business Fax).vcf]
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:14 EDT