Difference between revisions of "User Account Management Debian 11"

From Vista Ridge Cyberpatriot
Jump to navigation Jump to search
(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...")
 
(I added bullet points)
Line 1: Line 1:
There is basically no GUI in Debian so you need to use the command line for whatever you're gonna do.
+
Basic Commands For User Account Management
  
The command to add a user is "adduser <username>".
+
* There is basically no GUI in Debian so you need to use the command line for whatever you're gonna do.
  
The command to remove a user is "sudo userdel <username>".
+
* The command to add a user is "adduser <username>".
  
The command to add a group is "sudo addgroup <groupname>".
+
* The command to remove a user is "sudo userdel <username>".
  
The command to remove a group is "sudo delgroup <groupname>".
+
* The command to add a group is "sudo addgroup <groupname>".
  
The command to add a user to a group is "sudo usermod -aG <groupname> <username>".
+
* The command to remove a group is "sudo delgroup <groupname>".
  
The command to remove a user from a group "sudo gpasswd -d <username> <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>".

Revision as of 22:20, 9 November 2023

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