How to create and delete users in Linux || useradd || userdel

Publicado em: 27 Agosto 2020
no canal de: DexTutor
3,348
61

#useradd #userdel #linux #linuxessentials

How to create a user using useradd command in Linux?
to create a new user use the useradd command. The syntax is:
#useradd username
The useradd command can be executed only with admin permissions. The details of all users are available in /etc/passwd file
The options available with useradd are:
-d: to create a home directory
-u : to add a UID of choice
-g: to assign user to an existing group
-G: to add user to supplementary group

For more details visit: https://dextutor.com/useradd-command-...

The command to delete a user is userdel. Syntax:
#userdel username
Again this command can be executed only by the admin

For more details: https://dextutor.com/userdel-command-...

Website Link: www.dextutor.com

All the material along with PPT is available at : https://dextutor.com/courses/linux-co...

Linux Essential Playlist: https://tinyurl.com/dextutorLinux

Operating System Playlist: https://tinyurl.com/dextutorOS

Operating System Lab Playlist: https://tinyurl.com/dextutorOSLab

how to use -d option with useradd
how to use -u option with useradd
how to use -g option with useradd
how to use -G option with useradd
how to use -f option with userdel


Nesta página do site você pode assistir ao vídeo on-line How to create and delete users in Linux || useradd || userdel duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário DexTutor 27 Agosto 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3,348 vezes e gostou 61 espectadores. Boa visualização!