Date: Thu, 31 Mar 2016 10:46:01 +0000 From: Warren Block <wblock@wonkity.com> To: freebsd-ports@freebsd.org Subject: Re: devel/arduino - bad advice given in pkg-message Message-ID: <F6.17.31587.E100DF65@dnvrco-oedge03> References: <CAJ_iqtYP7NPbL2tZtGZNWOhuQWx8VLACxTuwyWo_UieyKaWRKA@mail.gmail.com> <56F55A84.6080000@unfs.us> <CAJ_iqtbjiYA8Rj4BjRp8wR1uEELtSGXb2hwh-mHhhQRiLeCTug@mail.gmail.com> <56F71D44.1080302@unfs.us> <alpine.BSF.2.20.1603271224410.74866@wonkity.com> <alpine.BSF.2.20.1603272154380.57883@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F6.17.31587.E100DF65>