Project

General

Profile

Actions

Bug #7013

closed

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

Added by Kill Bill over 7 years ago. Updated almost 6 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.

Actions #1

Updated by Kill Bill over 7 years ago

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.

Actions #2

Updated by Jim Thompson over 7 years ago

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.

Actions #3

Updated by Renato Botelho over 6 years ago

  • Target version changed from 2.4.0 to 2.4.1
Actions #4

Updated by Jim Pingle over 6 years ago

  • Target version changed from 2.4.1 to 2.4.2
Actions #5

Updated by Jim Thompson over 6 years ago

  • Assignee set to Renato Botelho
Actions #6

Updated by Renato Botelho over 6 years ago

  • Target version changed from 2.4.2 to 2.4.3
Actions #7

Updated by Jim Pingle about 6 years ago

  • Target version changed from 2.4.3 to 2.4.4
Actions #8

Updated by Anonymous almost 6 years ago

  • 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.

Actions #9

Updated by Anonymous almost 6 years ago

  • % Done changed from 0 to 100
Actions #10

Updated by Anonymous almost 6 years ago

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

Actions #11

Updated by Renato Botelho almost 6 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF