Subject: bin/11053: user/group add utilities don't update YP
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 09/20/2000 21:25:23
>Number: 11053
>Category: bin
>Synopsis: user/group add utilities don't update YP
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 20 21:31:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Jason R Thorpe
>Release: Sept 20, 2000
>Organization:
6th and Hugo Software
>Environment:
System: NetBSD yeah-baby.shagadelic.org 1.5C NetBSD 1.5C (YEAH-BABY) #61: Sat Jul 22 17:58:30 PDT 2000 thorpej@yeah-baby:/u1/netbsd/src/sys/arch/alpha/compile/YEAH-BABY alpha
>Description:
When a user/group is added/modified, etc., the YP information
is not automatically updated.
>How-To-Repeat:
Add a user on the YP master using the user(8) utilities. On a
YP client, notice that the user doesn't exist. On the YP master,
"cd /var/yp; make", and notice that the user now exists on the
YP client.
>Fix:
There are a couple of ways this can be addressed. The traditional
SunOS way was to have a cron job that just did a yppush using
the Makefile every hour. Another way would be for the user(8)
tools to check to see if it's being run on the YP master and to
force a push. The former is probably better, for the case where
a single machine is the master for multiple YP domains.
>Release-Note:
>Audit-Trail:
>Unformatted: