25 Aug 2008, 20:01

Linux: Change Groups without leaving current session


Ever wonderd how you could change your current group without ending your current session (i.e. logging out and in again)?

You can use newgrp to achieve this. Simply enter newgrp <desired group> and you’re done. Of course this only works for groups you are a member in or have the group password.