User Account Management Debian 11

From Vista Ridge Cyberpatriot
Revision as of 22:14, 9 November 2023 by 128.254.249.17 (talk) (Created page with "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 remov...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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>".