Users & Access · about 1 min · 3 steps
Remove a user from a group
Takes away the access an account has through one of its groups.
Runs on
- Debian / Ubuntu: supported
- RHEL / Fedora: supported
- Alpine: supported
What it changes on your server
- Removes the account from the group. The group and its other members stay.
- To remove sudo rights, use Revoke sudo, which also removes Shellbay's sudo rule.
What Shellbay asks you
Which account?
List user accounts shows each account's groups.
- Account
- A new Linux account name
Example:
aliceWhich group should it leave?
An account can't leave its own main group (usually the one with its name).
- Group
- Text, up to 32 characters
Example:
docker
Steps
- Check the account and group
- Remove from the group
- Check the membership
Shellbay checks the server before the first step, and stops at the first step that fails.
When it's done
- ‹account› has left ‹group›. Sessions and apps that are already running keep the old access until they restart.