Re: Adding someone to a group
Robin Sheat <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.dunedin.general |
|---|---|
| Message-ID | <[email protected]> |
Op 03-04-13 15:46, Geoff Barkman schreef: > addgroup geoff audio I'd use 'adduser geoff audio' for the same thing. I expect it's actually the same command in the long run though. Just for the sake of interest. > Does anyone know of a way that I can add myself to a group to save > having to logout? So the group membership shows up straight away. If I > have to type some other command to refresh things it doesn't worry me. 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. 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. Robin. _______________________________________________ DunLUG mailing list [email protected] http://lists.ethernal.org/listinfo/dunlug DunLUG Wiki - http://dunlug.kallisti.net.nz/
signature.asc
(application/pgp-signature, 263 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlFb7zYACgkQFNNkhamc622rtgCeM7+Ho6XQjaw+F8D4wHeXo46X G4cAoJj7E7kZj3j2m0sStOBbmqDpXavW =7Iyi -----END PGP SIGNATURE-----