[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: group membership activation



On Thu, 18 Feb 2016 16:10:48 +0000
Bonno Bloksma <b.bloksma@tio.nl> wrote:

> Hi,
> 
> Running a fresh Jessie install on a laptop with GNOME.
> Today I had to add a user (me) to a group (wireshark) for a program (wireshark gui) to work. At first I thought I did something wrong but after a reboot it did work, wireshark was able to see the interfaces.
> 
> So probably group membership is not determined at runtime but maybe at login or some other moment. Where can I find more info about this? 
> Is this a problem specific to a desktop environment of can I run into this with a straight CLI setup as well?
> 
> I know that in a Windows environment the group membership is added to the user token at login. Changes in group membership have no effect untill the user logs in again.

IIUC, Linux works the same way, although there are workarounds:

http://superuser.com/questions/272061/reload-a-linux-users-group-assignments-without-logging-out
https://arkaitzj.wordpress.com/2010/03/08/linux-add-user-to-a-group-without-logout/

> Bonno Bloksma

Celejar


Reply to: