Log-less Linux Group Refresh

I’m writing this post so I can keep a local copy of the neat trick a found on the web. This command allows you to refresh your Linux group membership without logging out. This is super useful if you’re doing development in directory owned by a service group, like www-data.

How to do it

exec su -l $USER

Source

An Edwards Research Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s