Skip to content

Instantly share code, notes, and snippets.

@virullius
Created December 4, 2014 18:03
Show Gist options
  • Save virullius/870fbad498cd74e954f4 to your computer and use it in GitHub Desktop.
Save virullius/870fbad498cd74e954f4 to your computer and use it in GitHub Desktop.
Refresh user's groups - linux
exec su -l $USER
@virullius
Copy link
Author

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment