[plug] Groups explained?

Craig Ringer craig at postnewspapers.com.au
Wed May 25 18:28:03 WST 2005


On Wed, 2005-05-25 at 18:17 +0800, Alex Nordstrom wrote:
> On Wed, 25 May 2005 13:42, Matthew Lambie wrote:
> > On Wed, 2005-05-25 at 13:34 +0800, Daniel J. Axtens wrote:
> > > > It's like groups has a cache or something that I need to refresh?
> > >
> > > IIRC, yes. You need to log out and log in again.
> >
> > Thanks Daniel, it was exactly what I needed to do. I thought that
> > might be the case, but I had a gazillion windows open and not all can
> > save their session information and was reluctant to log out unless I
> > had to :)
> 
> You don't. See man 1 newgrp.

or just `su - $USER' in a terminal. Neither su nor newgrp will affect
already-running processes though, only their own children, so if you
want your whole session to reflect the group change you'll still need to
log out and log back in.

--
Craig Ringer




More information about the plug mailing list