[Bug 221417] pw usermod silently ignores -G ""

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 19 00:20:08 UTC 2017


--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: emaste
Date: Sat Aug 19 00:19:24 UTC 2017
New revision: 322677
URL: https://svnweb.freebsd.org/changeset/base/322677

  pw usermod: Properly deal with empty secondary group lists (-G '')

  "pw usermod someuser -G ''" is supposed make sure that someuser
  doesn't have any secondary group memberships.

  Previouly it was a nop because split_groups() only intitialised
  "groups" if at least one group was specified. As a result the
  existing secondary group memberships were kept.

  PR:           221417
  Submitted by: Fabian Keil
  Obtained from:        ElectroBSD
  MFC after:    1 week
  Relnotes:     yes


You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list