Users, Groups and Permissions in Linux
Вставка
- Опубліковано 14 чер 2024
- Note: We Demonstrate Linux using Ubuntu Server 10.04
Info
Level: Intermediate
Presenter: Eli the Computer Guy
Date Created: September, 16 2010
Length of Class: 37 Minutes
Tracks
Linux
Prerequisites
Introduction to Linux
Installing Linux
Basic Linux Tasks
VIM for File Editing
Navigation in Linux
Purpose of Class
This class teaches students how to manage users, groups and permissions in a Linux enviornment.
Topics Covered
Adding and Deleting Users
Editing the passwd File Which Contains User Configurations
Changing User Passwords
Adding and Deleting Groups
Adding and Deleting Users from Groups
Editing the group Configuration File
Understanding Permission Numbering System
Changing User and Group Ownership for Files and Folders
Class Notes
Users
Add User = sudo adduser username
Change User password = sudo passwd username
Delete User = sudo userdel username
Edit Users Configuration File = sudo vim /etc/passwd (shows usernames, names of users, home directories)
Groups
Sudo groupadd groupname
Sudo groupdel groupname
Sudo vim /etc/group (shows groups and users)
Permissions
Numbers = owner/group/everyone else
4 = read, 2 = write, 1 = execute
To Chanege Permissions of a File or Folder = sudo chmod 777 file/folder (-R for recursive)
Changing Ownership
To Change User Ownership = sudo chown -R username file/folder
To Change Group Ownership =sudo chgrp --R groupname file/folder
-R for Recursive for Folders - Наука та технологія
this video is probably the most useful video on the entire internet. Thanks
we're in 2020 and this video is still the most useful!
@@yazidproduction haha! Thanks for the reply. I forgot about this. Gonna give it a rewatch.
Very true thanks
and we're now in 2024 and this video is still the most useful ! 😂
Best investment of 37 mins I could of made.. Thanks for taking the time !
I salute you. Two things, its different when you know something and you are able to pass the same knowledge to others. your teaching is exceptional. My instructors in school makes it much more complicated and hard. But watching your video Eli has made life much easier for me . thank you once again.
Extraordinary experience. Your straight-forward style made all the difference. Thank you
he is like my main online linux instructor, learned almost everything i know about linux from him :)
Thanks Eli, this stuff's amazing. Can't begin to express how thankful I am for making this both free and public.
#respect to your teaching skills. Some teacher make subject complicated and hard to understand but some teachers make complicated subject soo easy to understand you are one of them
Why cant I find a teacher like you at my school? Your amazing, your knowledgeable, but also know how to translate the knowledge to those hoping to aspire to greater heights. I am very grateful I found your channel, simply amazing!
Eli I have watched almost all your videos but this is the first one I am commenting on.
YOU ARE AMAZING. REALLY!!
Thank you so much for these very informational and easy to understand videos. All the people disliking your video are crazy.
Keep up the amazing work!!
Linux isn't my domain of working. I want to learn it. So, I'm a beginner and you explain this it well! Congrats
Thank you Eli. I'm also based in Maryland, and currently taking a Linux System Engineering class and this video really helped me understand user and group management and user/group permissions. Thank you.
Eli, this video is very helpful. I have been promoted to backend administrator on a Minecraft multiplayer server about a year ago. That server runs Linux. Before I was promoted, I had never used Linux before. Since then, I have found this video, and have checked it several times again during the year.
Thank you for making this video!
Amazing video, after 7 years in Linux I finally understand user, group, and permissions :)))) Thanks a lot, man!
As always you take something that professors make sound complicated and show how simple it is. Great job I would be lost without these videos.
I have learned more from you than my professor. Thank you for being so descriptive.
You are doing a great job Eli, you're a good teacher and a lot of IT folks don't have the patience for it. Thanks for what you do.
Still rocking, one of the clearest guides to user management and basics of Access control.
Very useful, and understandable for a non English natives as well
Parts start from:
Prolog
User mgm exp. : adduser, deluser 1m31s -
dem. 05m50s -
Groups mgm exp. : addgroup, delgroup 10m46s -
dem. 16m40s -
Permissions exp. : chmod 20m40s
dem. 27m20s -
Ownership exp. : chown, chgrp 30m22s -
dem. 33m10s -
Final thoughts 35m23s -
exp:explanation, dem.:demonstration
I found the explanation by Douglas Rumbough very simple. linux permissions are in sets of 3, USER|GROUP|EVERYONE so to give a test.txt permissions you just remember the following:
R =4
w=2
x =1
NONE = 0
you want USER(owner) to have all permissions 4+2+1 = 7
you want GROUP to have read+write 4+2 = 6
you want EVERYONE ele to have no permissions 0+0+0 = 0
so your permissions for the test.txt would be 760
my nigga...
Omg you guys! Ha
this is exactly what eli said in the video tho?
eli I thank you and appreciate your work
You're an amazing teacher
Amazing. You are one of the very best teachers online. God bless you real good.
Thanks for spreading the knowledge... it is highly appreciated!
Could not be explained easier than this. Awesome.
Thank you SO MUCH! I've been dealing with this issue for years (no exaggeration) because (now I see) I'd started with wrong asumptions. Superb explanation! Thx again!
You are the man! By far the easiest video tutorials for Linux admin to follow.
You're totally an awesome teacher. I've learned a lot from you
I had no clue what the permission does in Linux, but thanks to Eli now the concepts are clear :)
Best teacher ever. Thanks so much Eli
Nothing more than enough in the explanation!10x dude!
I am switching to Ubuntu from Windows. I love it. File Permissinos were a little confusing at first. Eli, in this video alone, you have made it VERY clear to me. Thanks!
The Best tut on users groups and permissions on youtube. Thank You Eli !
Thank you for the clear explanation! Your videos are incredibly helpful!
I just want to say that I am finding your videos an AMAZING resource! You are appreciated. Thank you.
This is one of the best instructional videos I have come across, thank you very much.
Eli - Helping me get ready for interviews since 2011.
Thank you sir ! You have no idea how helpful this was for me !
Great video explained brilliantly! Hats off to that guy!
eli u r proving to be source of inspiration for many novice computer students
MAN... WHAT A GREAT TEACHER YOU ARE!!... thanks a lot Eli :)
Most best best, amazing tutorial about linux permissions ever exist, Thank you alot!
Linux may be "simple" if you know the codes. But it is NOT intuitive. These classes are very helpful.
excellent!!! love the white board, thank you so much. The best tutorial video I have seeing!!!
Wow! I just stumbled onto this video while I was configuring my first server. Thank you! Extremely helpful.
Very well made, thanks for the in depth lesson, you answered all of my questions!
Simple and very helpful explanation. Thanks!
Dear Eli
Thanks for these wonderful clips
I'd like to come into the Linux world but highly doubt that,When I found this UA-cam Channel It was a miracle for me.Thank u
Simple and easy to understand. @Eli i must learn teaching skills from you... Thanks a lot.
much better than what i learned in college , thank
From ELi's lessons learnt from 2010: don't buy a huge whiteboard size 2 meter on 4 meter on which you write everything 30 cms from right side, OR, buy a longer power cord for your camera
:-)
Simple and clear, you did a good job.
there's no idle time now with your videos. Shout out to Eli and everyone involved with Everyman IT, Great job.
You explain this very well!! Thank you Eli!!
U r EXPLAINATIONS ARE VERY CLEAR SIR
THANK YOU FOR AMAZING LECTURES
Very insightful and well explained. Thank you!
Awesome teaching Eli! Good job! Thanks.
such a lovely teacher..hats off..
Eli, thanks. I installed Linux years ago; however, I always used the graphical interface. It is great to be learning the terminal command lines.
i really like the way you explain all the concepts.
I love your videos. You are very clear explaining. Thank you.
Awesome Video..This guy is know how to teach people...!!!!!!!Hats off to you...
Awsome and very simple to understand User , Group and permission...
Thanks Eli, your explanation rocks.
So useful! Thanks for taking the time to put these together :-)
Great video! Easy and well explained. Thanks!
Thank you mister Eli,... very, very easy to understand...
Thanks for all the information, you make this very easy to understand.
Eli is a great instructor/teacher, like from me!
Thanks man, cleared a lot of crap my teacher told me in my head
You are a VERY good teacher! :)
Clear and basic explanation, thank you very much for the video :)
Much better explanation than the Ubuntu server book!
these tutorials are absolutely amazing , Thank you very very much.
You are good dude, your explanation is very easy to grasp. thanks eli
Guy is the best teacher ever.
Awesome dude, very helpful and easy to understand. Thank you.
Got here after filtering like 5 videos and many documentations, you got me broo. i was able to do it..
Thanksss :)) :))
Great Job man ya spot on with it all, great to see someone teaching new Linux users the rope's
Nicely explained, liked a way of explanation👍👍👍👍👍
Eli you make IT easy man Thank You!!!!
Thank you very much for such an informative video. Nicely done sir.
Exelente profesor espero que sigas subindo videos como este exelentes gracias..
Thanks for your videos. I am just an IT hobbyist (I am my family's IT guy), but I am learning a great deal from you. You also should continue to explain how you make money. I now make sure to let all of your ads run through so that you can get the add revenue from them.
Great explanation, you are really an excellent teacher
this is super clear and simple
I like it!
Hi ELi thanks for all your videos,,i follow al your videos and is really very helpful throughout. Thank you very much
Thank you for creating this great piece of tutorial content.
Thanks for the demo...Just what I needed.
Oh, I finally figured it out!. Thanks man!
Thank you so much, you teach so great!
GREAT stuff Eli. Thank you for the very clear explanation.
Man, thanks a TON for this!! 🙏🙏🙏
This is very helpful. THANK YOU!
Its an excellent tutorial series i have come across
Beautifully explained
Eli, thanku very much for amazing videos, i love your videos alot..
Thank you for this great tutorial!
Thanks Eli, you're the man.
Amazing instructor, let me know if your ever in London, would like to buy you a drink for all your support. Keep it up.
This video is vry helpful thx a lots sir respect from india
Very clear explanation, thank you!