Created
December 4, 2014 18:03
-
-
Save virullius/870fbad498cd74e954f4 to your computer and use it in GitHub Desktop.
Refresh user's groups - linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec su -l $USER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I keep losing this, so making a note of it here.
Credit goes to: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/