Date: Mon, 26 Jan 2009 09:53:02 -0500 (EST) From: Super Flash <corbesero@ptd.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/131013: pw does not update NIS group file Message-ID: <200901261453.n0QEr2sD094355@gimli.corbesero.net> Resent-Message-ID: <200901261520.n0QFK4kD016252@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901261453.n0QEr2sD094355>
