Project

General

Profile

Actions

Bug #7013

closed
KB RB

Changing group scope to remote does not remove it from group file

Bug #7013: Changing group scope to remote does not remove it from group file

Added by Kill Bill over 9 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Low
Category:
User Manager / Privileges
Target version:
Start date:
12/15/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.x
Affected Architecture:
All

Description

If I understand things correctly, after implementing Bug #6012 the groups with scope set to "Remote" are not supposed to be stored in /etc/group. However, when you edit an existing group and change the scope from "Local" to "Remote", it still stays in /etc/group.

KB Updated by Kill Bill over 9 years ago Actions #1

Well, there's obviously much more wrong here, this actually requires a reboot to take effect. Also, adding/removing users to/from a group requires a reboot to take effect.

JT Updated by Jim Thompson over 9 years ago Actions #2

you would have to teach each affected process to re-run initgroups(3); setgroups(2); in order for them all to have a new group vector in their individual proc structures.

RB Updated by Renato Botelho about 9 years ago Actions #3

  • Target version changed from 2.4.0 to 2.4.1

JP Updated by Jim Pingle almost 9 years ago Actions #4

  • Target version changed from 2.4.1 to 2.4.2

JT Updated by Jim Thompson almost 9 years ago Actions #5

  • Assignee set to Renato Botelho

RB Updated by Renato Botelho almost 9 years ago Actions #6

  • Target version changed from 2.4.2 to 2.4.3

JP Updated by Jim Pingle over 8 years ago Actions #7

  • Target version changed from 2.4.3 to 2.4.4

Updated by Anonymous about 8 years ago Actions #8

  • Status changed from New to Feedback

Changing group scope from local to remote now deletes the group from /etc/group
Added a warning message to indicate that a reboot may be required for this to take effect.

Updated by Anonymous about 8 years ago Actions #9

  • % Done changed from 0 to 100

Applied in changeset commit:64fa4207182efea9b45f5170b8996b967441d4e1.

Updated by Anonymous about 8 years ago Actions #10

On 2.4.4.a.20180705.0032 works as expected. After changing scope from Local to Remote, the group is removed from /etc/group

RB Updated by Renato Botelho about 8 years ago Actions #11

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom