linux: refreshing groups without having to re-login
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle4
--
Chapters
00:00 Linux: Refreshing Groups Without Having To Re-Login
00:15 Accepted Answer Score 19
00:38 Answer 2 Score 10
00:50 Thank you
--
Full question
https://superuser.com/questions/134406/l...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #useraccounts
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle4
--
Chapters
00:00 Linux: Refreshing Groups Without Having To Re-Login
00:15 Accepted Answer Score 19
00:38 Answer 2 Score 10
00:50 Thank you
--
Full question
https://superuser.com/questions/134406/l...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #useraccounts
#avk47
ACCEPTED ANSWER
Score 19
possible in shell (I don't think it is for gui)
try newgrp groupname
I wrote more info on this on my blog a while back. according to that this will also change the default group of the shell. you can use sg to Switch your default Group
ANSWER 2
Score 10
su - username will do it for the shell (and subproccesses) that su opens up, but for everything else you'll need to relog.