Re: Adding someone to a group
Jim Tittsler <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.dunedin.general |
|---|---|
| Message-ID | <CAM5+Eqj456qxiff9u1jSVLh9KB2ffhjTYtofdgOqRBTeE-jqKw@mail.gmail.com> |
On Wed, Apr 3, 2013 at 9:58 PM, Robin Sheat <[email protected]> wrote: > Groups inherit from your login, so adding yourself to a group only takes > effect when the system has cause to look you up again, i.e. when you log in. And if you don't want to log out... you could "log in" again using su or ssh. > To make this take effect immediately, you can use 'newgrp', e.g. 'newgrp > audio' or even just 'newgrp' on its own. It's probable that this will > only apply to the shell you're in however, not everything running as you. newgrp affects your *primary* group... so you will probably need to use it twice, once to change to the new group... and then again to set your primary group back to your normal user group (but which I think will leave the new group in the secondary group list). _______________________________________________ DunLUG mailing list [email protected] http://lists.ethernal.org/listinfo/dunlug DunLUG Wiki - http://dunlug.kallisti.net.nz/