misc/131013: pw does not update NIS group file
Super Flash
corbesero at ptd.net
Mon Jan 26 07:20:05 PST 2009
>Number: 131013
>Category: misc
>Synopsis: pw does not update NIS group file
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 26 15:20:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Stephen Corbesero
>Release: FreeBSD 6.2-STABLE i386
>Organization:
personal
>Environment:
System: FreeBSD gimli.corbesero.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Oct 2 08:47:21 EDT 2007 flashr at gimli.corbesero.com:/usr/obj/usr/src/sys/GIMLI i386
>Description:
The pw utility has the option (via pw.conf) to specify the location of
nis (master) passswd file so that user additions are mirrored to this
file. However, no equivalent feature for groups exists. In my
opinion, when pw makes a group, that entry should get mirrored to the
nis group file.
>How-To-Repeat:
add "nispasswd /var/yp/master.passwd" to /etc/pw.conf
add a user via pw or adduser
see that /etc/master.passwd, /etc/group, and /var/yp/master.passwd
have all been updated, but not //var/yp/etc/group
>Fix:
a work around is to run a scriotfater pw or adduser to copy the group
entry over. or, atthe risk of some security, use the /etc/group file
as the nis group file.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list