diff options
author | emaste <emaste@FreeBSD.org> | 2017-09-08 21:16:23 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2017-09-08 21:16:23 +0000 |
commit | 9cbb330f2197dd7d1108f4ce49def97e3b3b22e0 (patch) | |
tree | a2ff3570323b97e2fa3bdc5db1adca3d7d9f8a06 /etc/pam.d | |
parent | 73846ec2976bad87e4e8059d5b0264b3b6827e02 (diff) | |
download | FreeBSD-src-9cbb330f2197dd7d1108f4ce49def97e3b3b22e0.zip FreeBSD-src-9cbb330f2197dd7d1108f4ce49def97e3b3b22e0.tar.gz |
MFC r322677: pw usermod: handle 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
Approved by: re (kib)
Obtained from: ElectroBSD
Relnotes: yes
Diffstat (limited to 'etc/pam.d')
0 files changed, 0 insertions, 0 deletions