From owner-freebsd-ports@freebsd.org Thu Mar 31 10:54:15 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25A46AE4418 for ; Thu, 31 Mar 2016 10:54:15 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.231]) by mx1.freebsd.org (Postfix) with ESMTP id EFEB110CA for ; Thu, 31 Mar 2016 10:54:14 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from [96.28.178.143] ([96.28.178.143:55530] helo=localhost) by dnvrco-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id F6/17-31587-E100DF65; Thu, 31 Mar 2016 10:46:55 +0000 Date: Thu, 31 Mar 2016 10:46:01 +0000 Message-ID: From: "Thomas Mueller" To: freebsd-ports@freebsd.org From: Warren Block Subject: Re: devel/arduino - bad advice given in pkg-message References: <56F55A84.6080000@unfs.us> <56F71D44.1080302@unfs.us> X-RR-Connecting-IP: 107.14.64.142:25 X-Authority-Analysis: v=2.1 cv=U6scDIbu c=1 sm=1 tr=0 a=RKm8ZHSrUWUxlfG+7GhaOw==:117 a=RKm8ZHSrUWUxlfG+7GhaOw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=tRul87jowE4A:10 a=6I5d2MoRAAAA:8 a=8NF-qPB8xSyjJCITEoIA:9 X-Cloudmark-Score: 0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 10:54:15 -0000 On Sun, 27 Mar 2016, Warren Block wrote: > Here is how I propose to rewrite that: > > -G grouplist Set secondary group memberships for an account. > grouplist is a comma, space, or tab-separated list of > group names or group numbers. /etc/group is modified > to include the user's name in the groups specified in > grouplist. The user's name is removed from all > groups not specified. Group membership changes do not > take effect for current user login sessions, > requiring the user to reconnect to be affected by the > changes. Note: do not add a user to their primary > group with grouplist. > Modified version committed in > https://svnweb.freebsd.org/base/head/usr.sbin/pw/pw.8?r1=297330&r2=297329&pathrev=297330 I've been following this thread, have this question: How does one add a user to additional groups without removing the user from groups the user is already in? I just looked at the new manpage from a fresh svn update of src tree. Tom