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

Re: NIS problem, please Help

On 2 May 1997, Christoph Lameter wrote:

> Richard Zoni (zoni@CS.UniBO.IT) wrote:
> : Hello,
> : 
> : we have a debian linux NIS server running on a 166Mhz Pentium with 64Mb,
> : it serves a cluster of 20 debian linux boxes.
> : We have very big maps (600 lines in passwd and 2 hundreds more in group)
> : 
> : Our ypserv is consuming up to 90% CPU time, 
> : is it normal?
> I have experienced the same. Remove the + entry from the /etc/group files and everything will be back to
> normal. The /etc/group entries are not cached and each machine has to search through all of them via the
> NIS server to figure out to which groups a user belongs. The debian scheme adds a group for each users
> making the problem much more acute with debian.
> We have solved it by copying the /etc/group to all the machines with a cron job at night.

Thank you for the suggestion but I think 
that is not very useful to rdist file like group|passwd when
there is a NIS server.

It seems that the only solution is to remove all single-user groups from
the NIS group map. Ex: zoni:*:123:zoni
The only problem is that without the nis map, users get only the numeric

I wonder if it is correct to redifine ls as 
		ls() { /bin/ls --color=auto --no-group $*}

to have a classic ls behaviour.


Richard Zoni	       !e-mail 		zoni@cs.unibo.it
Via Emilia Ponente 28/3!homepage	http://www.cs.unibo.it/~zoni
40133 Bologna(BO) ITALY!phone/fax	++39 51 380 327
*Public Key available in the homepage or via finger*

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: