User Account Management Debian 11
Basic Commands For User Account Management
- There is basically no GUI in Debian so you need to use the command line for whatever you're gonna do.
- The command to add a user is "adduser <username>".
- The command to remove a user is "sudo userdel <username>".
- The command to add a group is "sudo addgroup <groupname>".
- The command to remove a group is "sudo delgroup <groupname>".
- The command to add a user to a group is "sudo usermod -aG <groupname> <username>".
- The command to remove a user from a group "sudo gpasswd -d <username> <groupname>".