💻 Software
Is there a way in Linux to update the user/group properties without having to login again?
Fresh5 days ago
Mar 15, 202615534 viewsConfidence Score0%
0%
Problem
After I edit /etc/group and I add a user to groups it didn't belong to, the user will not be able to use it's newly acquired privileges unless it starts a new session. Is there a command to refresh user/group properties in an ongoing session?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is there a way in Linux to update the user/group properties without having to login again?
Low Risk
At the kernel level, group membership is a property of each process. Unless it has the appropriate capability (CAP_SETGID if I'm not mistaken), i.e. root privileges for all intents and purposes, a process cannot belong to a new group. A user does no…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix