How to add or delete Users in Linux (Ubuntu) | User management in Linux

Опубликовано: 11 Октябрь 2024
на канале: Exploring My Computer
8,147
82

(Recommended Video quality (resolution): 360p)

This Video shows how to add or delete User accounts in Linux command mode.
The adduser command creates a new user and additional information about the user, directories, and a password. Depending on the Command Line options and the given parameters, additional elements can be added.
Its syntax is given below:
$ adduser -- options arguments

The useradd command is used for creating a new user or for modifying the existing user. Unlike adduser, however, it does not create specified directories unless stated otherwise. Useradd also creates a group by default. The syntax for useradd is as follow:
$ useradd [options]

We require admin rights to create a user, i.e., we need to be a superuser. For this purpose, we use the sudo command.

The deluser provides us more complicated and comprehensive options to delete users and groups
The userdel provides us with a more intuitive and feasible command to delete users.

This channel publishes brief and informative videos on Computers, Electronics, Tips & Tricks, Hardware, Software, Networking technology and solutions.
Please stay connected by subscribing the channel and click on bell Icon to get notification on new videos.

IMPORTANT PLAYLISTS:
https://www.youtube.com/@ExploringMyC...

BASIC ELECTRONICS, COMPUTER TUTORIAL VIDEOS:
   • COMPUTER TUTORIAL, BASIC ELECTRONICS ...  

SOFTWARE INSTALLATION VIDEOS:
   • SOFTWARE INSTALLATION VIDEOS  

COMPUTER TIPS & TRICKS:
   • COMPUTER - TIPS & TRICKS  

SETUP & CONFIGURATION VIDEOS:
   • SYSTEM SETUP & CONFIGURATION VIDEOS  

KEYBOARD SHORTCUT VIDEOS:
   • KEYBOARD SHORTCUT VIDEOS  

COMMAND LINE TUTORIALS:
   • COMMAND LINE TUTORIALS  

Thank You...