User Management
Creating a New User
sudo adduser <username>
Follow the prompts to set a password (even if disabled for SSH later) and user info.
Granting Sudo Privileges
Add the user to the sudo group.
sudo usermod -aG sudo <username>
Group Management
Docker / Podman Access
To allow a user to run containers without sudo (if using Docker group, or for Podman socket access):
sudo usermod -aG docker <username>
# or for kvm access
sudo usermod -aG kvm <username>
Check Groups
Verify which groups a user belongs to.
groups <username>