Full Linux Sysadmin Basics Playlist:

Check out my project-based Linux System Administration course (free sample videos):

Official Site:
Twitter:
Facebook:

About the Video:

Learn how to create new users on Linux (and how to remove Linux users). This video gives you a quick rundown of basic Linux commands like useradd, userdel, and usermod.

As a bonus, you’ll learn what actually happens behind the scenes when a new user is created in Linux. We’ll look at /etc/passwd, /etc/shadow, /etc/group, and a bunch of other things you might have been too scared to look at until now.

Nguồn: https://codeigniterbrasil.com

Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/

36 Comments

Jeff Abreu

April 30, 2020

How do I reset my sudo password on Linux? I'm trying to teach myself Linux with your videos hoping to learn and land an IT or cybersecurity job.

Reply

HarmInTrying

April 30, 2020

@5:10 …"Get rid of some of these users before you push it online… use containerization… million open doors for bad guys to walk through" Ugh. I guess opening ports on my server BEFORE I finished your tutorials was an especially bad idea. Whoops. Close the blast doors! Close the blast doors!

My already infected network, "open the blast doors! Open the blast doors!"

Reply

Adam Goszka

April 30, 2020

It is a great tutorial man!
Thank you a lot!

Reply

Monica Anselmo

April 30, 2020

You are my favourite Linux teacher!! They are actually the geekiest and funniest! Thanks for your informative videos which I thorougly enjoyed.

Reply

joe poor

April 30, 2020

ty

Reply

Escape the Matrix

April 30, 2020

Good stuff!

Reply

Suharto Gutur

April 30, 2020

Any reason why a black box sometimes appears? Is it related with security?

Reply

Pippymint

April 30, 2020

I can hear your server room in the background ;).

Reply

wolfgang germain

April 30, 2020

how do I get that bottom bar you have that gives additional stats?

Reply

Parsa Kalantari

April 30, 2020

This man is prophete

Reply

Duja Johnson

April 30, 2020

Finally learned how to run terminal in root mode. Getting prompted for password every time was annoying! Thanks

Reply

Alexus Wong

April 30, 2020

God this tutorial is so good.

Reply

Simon Liljestrand

April 30, 2020

"rm -rf /home/schnerg/"
I too like to live dangerously 😛

Reply

George Reeberg

April 30, 2020

Awesome videos!

Reply

Mon Day

April 30, 2020

Nice example – One thing I find confusing in the example: most users seem to have a group named exactly as the user itself. It can be confusing in my mind, if you really need an own group (as opposed to joining an existing group), I would create group <username>_groupX. If a user has a group with the same name, and nobody else joins that group, it's the perfect example of a totally useless group

Reply

Mon Day

April 30, 2020

It's funny that /etc/passwd ( the password file ) stores …. well, no passwords. I guess that on a sunny afternoon in 1973, it did store passwords literally in there

Reply

John Smith

April 30, 2020

I got a lot of good stuff from this video. Thank you.

Reply

Mr. Suhaib

April 30, 2020

whats the significance of tailing those three files? which one shows what? shadow shows exclamation marks but passwd doesnt? Then whats the point of checking out etc/group?

Reply

Nick Sabino

April 30, 2020

Sir your tutorial is great godbless you 🙂

Reply

Imran Mattu

April 30, 2020

How can I restrict users to access only few things especially for mca students

Reply

Horrible Coder

April 30, 2020

https://opensourceforu.com/2017/02/linuxsusadmin/
I recommend this after this lecture. If this lecture is pizza then this above link is soft drink.

Reply

maths soso

April 30, 2020

please, what dis you do at 14:25?

Reply

ill-fated Stranger

April 30, 2020

Good tutorial but sound quality is not good

Reply

Everything Awesome

April 30, 2020

can you explain to use what hte default usernames on linux are because i get a huge list of users and im like wtf? how do i know some of these are not hackers adding user accounts on my system. thanks !

Reply

AN Vary

April 30, 2020

I want to know the date that i created my user account. how can i check it?

Reply

Yash Lakha

April 30, 2020

this guy really understands the concept of open source…….#knowledge is free #knowledge is for everyone

Reply

Xд Lдсдд

April 30, 2020

99999 days are 390 years

Reply

Marcin Pe

April 30, 2020

Great tutorial, thanks 😉 Greetings from PL

Reply

Danny Calise

April 30, 2020

Watching your series now.. Appreciate the work you put into these.

Reply

Ryuudo123

April 30, 2020

im missing the need for all this.
Sure we know how to check if a user has a password, and if he doesn't then he cant login…but whats Shadow?whats the difference between that and the passwd folder?
whats the etc folder? why would we want to use the shell to add a user? isn't there an easier way? (or that question implies I should stick to Windows? :P)

Reply

Johnny Phan

April 30, 2020

if root want to give access file to a user.

How do I do that?

Reply

Jack Frost

April 30, 2020

Do you have updated vids?
As 'Man useradd' shows there is now an updated command which is 'adduser'?

Reply

Mo

April 30, 2020

You are awesome!!! Love the way you explain things. And now I shall continue binge watching the rest of this course ><

Reply

Brooks Burris

April 30, 2020

I really love these videos! I'm having trouble with the add user command though it doesn't work exactly like it does on yours. It keeps giving me a message back that I don't understand even though I typed it exactly like it was on your computer. I was even in the same pwd as you.

Reply

ctrlPain

April 30, 2020

You make the best linux tutorials i know. Want to see more console windows 😉

Reply

cdoublejj

April 30, 2020

sue-doo

Reply

Leave a Reply