Project

General

Profile

Bug #7013

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

Added by Kill Bill 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
User manager
Target version:
Start date:
12/15/2016
Due date:
% Done:

0%

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.

History

#1 Updated by Kill Bill 3 months 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.

#2 Updated by Jim Thompson 3 months 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.

Also available in: Atom PDF