Ravi Sir's Cards › AWS
User lost all groups?
This interview card answers: User lost all groups? -G alone replaces groups. Use -aG. Verify.
Read card text
What this card says
What it is
-G alone replaces groups.
Why it matters
Use -aG.
usermod -aG docker ravi
How / example
Verify.
id ravi