devel/arduino - bad advice given in pkg-message
Janky Jay, III
jankyj at unfs.us
Thu Mar 31 14:41:01 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
On 03/31/2016 04:46 AM, Warren Block wrote:
> 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
> 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
This was actually covered in this thread (first post, actually) by
"Better to use this:
pw groupmod dialer -m myuser
it will ony affect the dialer group, and not mess with any other groups.
The above will add the user "myuser" to the "dialer" group while
leaving the user's other group intact as well.
Janky Jay, III
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-----END PGP SIGNATURE-----
More information about the freebsd-ports