How do I add a user to multiple groups in Ubuntu?
Fresh3 days ago
Mar 15, 2026208285 viewsConfidence Score1%
1%
Problem
What's the command line utility and the arguments it requires?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How do I add a user to multiple groups in Ubuntu?
Low Risk
The utility is and is used like: Where is the user you want to modify and and are the new groups you want that user to join. Running the command without the argument will remove that user from all groups except and . To check a users group memberships use the command:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix