gpasswd -d alice docker

Category: Administration

gpasswd -d alice docker

Remove a user from a group

Takes user alice out of the docker group, revoking its privileges. The change applies to new login sessions, not to already-running shells. Use gpasswd -a to add a user back.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.