|
|
Log in / Subscribe / Register

Refreshing the groups of a running process

Refreshing the groups of a running process

Posted Oct 11, 2011 9:57 UTC (Tue) by DaD (guest, #80726)
Parent article: A Plumber's Wish List for Linux

One of the oldest thing that annoy me is the lack of possibility to refresh groups of a running process, specially for X.

me@debian:~$ sudo adduser me plugdev
Adding user `dad' to group `plugdev' ...
Adding user dad to group plugdev
Done.
me@debian:~$ grep '^Groups' /proc/$$/status # On not list group id of plugdev.

Regards.


to post comments

Refreshing the groups of a running process

Posted Oct 13, 2011 10:47 UTC (Thu) by cortana (subscriber, #24596) [Link]

At least groups are no longer necessary for most things on the desktop; udev/policykit take care of adding/removing ACLs on device nodes as users log in/log out/active/deactive their terminals.

Being able to revoke access to a file after the user has opened it, however, would still be useful...


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds