Users, Groups and Permissions in Linux

  Рет қаралды 543,861

Eli the Computer Guy

Eli the Computer Guy

Күн бұрын

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

Пікірлер: 452
@ethanharte4175
@ethanharte4175 9 жыл бұрын
this video is probably the most useful video on the entire internet. Thanks
@yazidproduction
@yazidproduction 3 жыл бұрын
we're in 2020 and this video is still the most useful!
@ethanharte4175
@ethanharte4175 3 жыл бұрын
@@yazidproduction haha! Thanks for the reply. I forgot about this. Gonna give it a rewatch.
@galaxiegalaxie5003
@galaxiegalaxie5003 3 жыл бұрын
Very true thanks
@Rootoo000
@Rootoo000 3 ай бұрын
and we're now in 2024 and this video is still the most useful ! 😂
@raisedbyreels
@raisedbyreels 8 жыл бұрын
Best investment of 37 mins I could of made.. Thanks for taking the time !
@darrellmillner930
@darrellmillner930 7 жыл бұрын
Extraordinary experience. Your straight-forward style made all the difference. Thank you
@murraybrowning8370
@murraybrowning8370 10 жыл бұрын
Thanks Eli, this stuff's amazing. Can't begin to express how thankful I am for making this both free and public.
@olaniyijosephadesunloye3529
@olaniyijosephadesunloye3529 3 жыл бұрын
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.
@itpugil
@itpugil 9 жыл бұрын
he is like my main online linux instructor, learned almost everything i know about linux from him :)
@jaiyesh5167
@jaiyesh5167 9 жыл бұрын
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!!
@Bbaass_TMH
@Bbaass_TMH 10 жыл бұрын
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!
@animatrix7
@animatrix7 12 жыл бұрын
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!
@MonsieurToure
@MonsieurToure 4 жыл бұрын
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.
@sushiltiwari7361
@sushiltiwari7361 8 жыл бұрын
#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
@longshanks23
@longshanks23 13 жыл бұрын
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.
@israraslam4571
@israraslam4571 8 жыл бұрын
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
@jagneg
@jagneg 7 жыл бұрын
my nigga...
@TheAnalystradioprogram
@TheAnalystradioprogram 6 жыл бұрын
Omg you guys! Ha
@august5135
@august5135 3 жыл бұрын
this is exactly what eli said in the video tho?
@deleatur
@deleatur 6 жыл бұрын
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!
@k.pointer1732
@k.pointer1732 10 жыл бұрын
Thanks for spreading the knowledge... it is highly appreciated!
@josephbatish9476
@josephbatish9476 10 жыл бұрын
eli I thank you and appreciate your work You're an amazing teacher
@aleksandarpetrovic2632
@aleksandarpetrovic2632 3 жыл бұрын
Amazing video, after 7 years in Linux I finally understand user, group, and permissions :)))) Thanks a lot, man!
@MrMattz84
@MrMattz84 11 жыл бұрын
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!
@fytubevw
@fytubevw 4 жыл бұрын
Still rocking, one of the clearest guides to user management and basics of Access control.
@ole88bluegmc
@ole88bluegmc 10 жыл бұрын
I have learned more from you than my professor. Thank you for being so descriptive.
@lubokaymakanov3172
@lubokaymakanov3172 5 жыл бұрын
Nothing more than enough in the explanation!10x dude!
@DuNguyen-xn3xp
@DuNguyen-xn3xp 4 жыл бұрын
You're totally an awesome teacher. I've learned a lot from you
@waziridavid
@waziridavid 5 жыл бұрын
Amazing. You are one of the very best teachers online. God bless you real good.
@marcvslicinivscrassvs7536
@marcvslicinivscrassvs7536 9 жыл бұрын
You are the man! By far the easiest video tutorials for Linux admin to follow.
@RonLeblanc
@RonLeblanc 11 жыл бұрын
I just want to say that I am finding your videos an AMAZING resource! You are appreciated. Thank you.
@alleniamathews9326
@alleniamathews9326 6 жыл бұрын
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.
@roma13241
@roma13241 9 жыл бұрын
Thank you for the clear explanation! Your videos are incredibly helpful!
@sharonesmith4193
@sharonesmith4193 6 жыл бұрын
Eli, thanks. I installed Linux years ago; however, I always used the graphical interface. It is great to be learning the terminal command lines.
@staj
@staj 12 жыл бұрын
there's no idle time now with your videos. Shout out to Eli and everyone involved with Everyman IT, Great job.
@maticman94
@maticman94 12 жыл бұрын
Wow! I just stumbled onto this video while I was configuring my first server. Thank you! Extremely helpful.
@lubokaymakanov3172
@lubokaymakanov3172 5 жыл бұрын
Great video explained brilliantly! Hats off to that guy!
@ASHERTESTIFY
@ASHERTESTIFY 6 жыл бұрын
I had no clue what the permission does in Linux, but thanks to Eli now the concepts are clear :)
@jrswab
@jrswab 9 жыл бұрын
Very well made, thanks for the in depth lesson, you answered all of my questions!
@kellyjaeferguson3514
@kellyjaeferguson3514 9 жыл бұрын
Best teacher ever. Thanks so much Eli
@aftabhu55ain
@aftabhu55ain 11 жыл бұрын
Amazing instructor, let me know if your ever in London, would like to buy you a drink for all your support. Keep it up.
@Arshar
@Arshar 3 жыл бұрын
The Best tut on users groups and permissions on youtube. Thank You Eli !
@cr6925
@cr6925 10 жыл бұрын
So useful! Thanks for taking the time to put these together :-)
@alexandraclaudiaman5277
@alexandraclaudiaman5277 3 жыл бұрын
Linux isn't my domain of working. I want to learn it. So, I'm a beginner and you explain this it well! Congrats
@elipaperni3458
@elipaperni3458 3 жыл бұрын
Eli - Helping me get ready for interviews since 2011.
@gilbertrodriguez385
@gilbertrodriguez385 9 жыл бұрын
This is one of the best instructional videos I have come across, thank you very much.
@dhanesharole2315
@dhanesharole2315 12 жыл бұрын
eli u r proving to be source of inspiration for many novice computer students
@selvin9845
@selvin9845 3 жыл бұрын
MAN... WHAT A GREAT TEACHER YOU ARE!!... thanks a lot Eli :)
@peddie1369
@peddie1369 10 жыл бұрын
Dear Eli Thanks for these wonderful clips I'd like to come into the Linux world but highly doubt that,When I found this KZfaq Channel It was a miracle for me.Thank u
@rufaidaalzoubi1784
@rufaidaalzoubi1784 Ай бұрын
Dear Eli, this is the best KZfaq video. I refer to this video almost every month :) I cannot memorize the commands, that is why I use this as a reference ... Many thanks for posting this.
@thatmelodychick8211
@thatmelodychick8211 7 жыл бұрын
You explain this very well!! Thank you Eli!!
@sajjad7818
@sajjad7818 4 жыл бұрын
Most best best, amazing tutorial about linux permissions ever exist, Thank you alot!
@lioar
@lioar 6 жыл бұрын
You are a VERY good teacher! :)
@kenroystreete6164
@kenroystreete6164 10 жыл бұрын
Thanks Eli, your explanation rocks.
9 жыл бұрын
Very insightful and well explained. Thank you!
@pa32779
@pa32779 5 жыл бұрын
Thanks man, cleared a lot of crap my teacher told me in my head
@raymonddaz6981
@raymonddaz6981 10 жыл бұрын
Awesome teaching Eli! Good job! Thanks.
@kamalkumarmukiri4267
@kamalkumarmukiri4267 8 жыл бұрын
Simple and easy to understand. @Eli i must learn teaching skills from you... Thanks a lot.
@rfrancoi
@rfrancoi 11 жыл бұрын
GREAT stuff Eli. Thank you for the very clear explanation.
@exploringnewworld6912
@exploringnewworld6912 7 жыл бұрын
i really like the way you explain all the concepts.
@debrasue2793
@debrasue2793 3 жыл бұрын
just as a little flavor for anyone that might be wondering why adduser defies the naming convention of thing+action, adduser is basically an overlay that sits on top of another command (drumroll): useradd. in some scenarios it's really just a perl script and not an independent command. makes the process a little easier though, so it is pretty common. the important takeaway being that adduser isn't on every installation image (especially minimal varieties), in case you're trying to invoke it and it isn't working. Most official repos contain the package though, so all you have to do is install it with whatever package manager you're distro uses.
@Chargehasbeenset
@Chargehasbeenset 12 жыл бұрын
Great Job man ya spot on with it all, great to see someone teaching new Linux users the rope's
@numero17100
@numero17100 9 жыл бұрын
Exelente profesor espero que sigas subindo videos como este exelentes gracias..
@l.elizabethaldana4985
@l.elizabethaldana4985 3 жыл бұрын
excellent!!! love the white board, thank you so much. The best tutorial video I have seeing!!!
@roneivilasboas
@roneivilasboas 10 жыл бұрын
I love your videos. You are very clear explaining. Thank you.
@grjesus9979
@grjesus9979 2 жыл бұрын
Great video! Easy and well explained. Thanks!
@ajaydhungel8558
@ajaydhungel8558 2 жыл бұрын
Thank you sir ! You have no idea how helpful this was for me !
@ShotenX1
@ShotenX1 10 жыл бұрын
Just noticed the amount of videos on your channel is giving everyone full permissions (777)
@darkmatrix80
@darkmatrix80 9 жыл бұрын
these tutorials are absolutely amazing , Thank you very very much.
@joseaa08
@joseaa08 13 жыл бұрын
man, you make everything so simple! Thanks :)
@MohammadHassanSohanAjini
@MohammadHassanSohanAjini 3 ай бұрын
Could not be explained easier than this. Awesome.
@kaushikjoshi8979
@kaushikjoshi8979 7 жыл бұрын
Awsome and very simple to understand User , Group and permission...
@rawazmhammed
@rawazmhammed 11 жыл бұрын
Much better explanation than the Ubuntu server book!
@trobert132
@trobert132 5 жыл бұрын
Thank you for creating this great piece of tutorial content.
@dasrabaskus
@dasrabaskus 4 жыл бұрын
Clear and basic explanation, thank you very much for the video :)
@TH3BADRO
@TH3BADRO 4 жыл бұрын
Thank you for this great tutorial!
@elithecomputerguy
@elithecomputerguy 13 жыл бұрын
@thebigbigdaddy I don't touch tape drives with a ten foot pole.... They were a pain in the ass even when they were the best option... I find Hard Drive backups are the way to go...
@ernesttorres1771
@ernesttorres1771 4 жыл бұрын
Thanks for all the information, you make this very easy to understand.
@DennisBuckley180
@DennisBuckley180 10 жыл бұрын
Thanks for the demo...Just what I needed.
@Dawg1561
@Dawg1561 3 жыл бұрын
Got here after filtering like 5 videos and many documentations, you got me broo. i was able to do it.. Thanksss :)) :))
@EduFeastFamily
@EduFeastFamily 7 жыл бұрын
Thank you mister Eli,... very, very easy to understand...
@fouadfarid1163
@fouadfarid1163 7 жыл бұрын
much better than what i learned in college , thank
@K_James95
@K_James95 3 жыл бұрын
Simple and clear, you did a good job.
@andrewrob6
@andrewrob6 10 жыл бұрын
Awesome dude, very helpful and easy to understand. Thank you.
@88Aj
@88Aj 13 жыл бұрын
Awesome Video..This guy is know how to teach people...!!!!!!!Hats off to you...
@samihashwe4169
@samihashwe4169 5 жыл бұрын
Great explanation, you are really an excellent teacher
@SOBIESKI_freedom
@SOBIESKI_freedom 10 жыл бұрын
This is very helpful. THANK YOU!
@rakeshmanathana
@rakeshmanathana 3 жыл бұрын
Simple and very helpful explanation. Thanks!
@GeekSquad9158
@GeekSquad9158 13 жыл бұрын
Wow. Fantastic tut. Thanks Eli!!
@michaelbowers4561
@michaelbowers4561 10 жыл бұрын
Thanks Eli, you're the man.
@Emalo
@Emalo 2 жыл бұрын
Eli is a great instructor/teacher, like from me!
@raj5999
@raj5999 5 жыл бұрын
Eli, thanku very much for amazing videos, i love your videos alot..
@knowledgewelearn7734
@knowledgewelearn7734 Жыл бұрын
U r EXPLAINATIONS ARE VERY CLEAR SIR THANK YOU FOR AMAZING LECTURES
@CheapoMatt
@CheapoMatt 13 жыл бұрын
Hey this was a great vid. The 4-2-1 permissions thing was easily explained. Most books can't do it as well.
@littlemas2
@littlemas2 12 жыл бұрын
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.
@ytbabbler
@ytbabbler 11 жыл бұрын
You can set multiple groups or users to a file if you use ACL's. The command is setfacl and the syntax is a bit hard for beginners, but you don't use the command line to do this in windows either, you use a file manager, and you do the same in GNU/linux to make it simple.
@shihab1975
@shihab1975 12 жыл бұрын
You are good dude, your explanation is very easy to grasp. thanks eli
@ytbabbler
@ytbabbler 11 жыл бұрын
The stickybit on a directory prevent users from deleting each others files. Example chmod 1777 /tmp means that if you create a file in /tmp , only you can delete it. To clarify, the permission of a file allow or prevent others to read execute or edit the file, but the permission of the directory allow or prevent creation, rename and delete of a file.
@alexhope77
@alexhope77 10 жыл бұрын
Very clear explanation, thank you!
@feulert.5953
@feulert.5953 6 жыл бұрын
Thank you very much for such an informative video. Nicely done sir.
@dhhsncnd6107
@dhhsncnd6107 10 жыл бұрын
very useful, Eli. I am learning from your videos to prepare an interview :-) Thanks!
@frakk2
@frakk2 12 жыл бұрын
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
@user-kg2rj7qu3w
@user-kg2rj7qu3w 10 ай бұрын
Eli you make IT easy man Thank You!!!!
@TheMCVR
@TheMCVR 7 жыл бұрын
such a lovely teacher..hats off..
@m4u939
@m4u939 8 жыл бұрын
this is super clear and simple I like it!
@SoDamnGreasy
@SoDamnGreasy 12 жыл бұрын
Guy is the best teacher ever.
Linux Network Configuration
51:19
Eli the Computer Guy
Рет қаралды 540 М.
Linux Backup with TAR and Cron Jobs
35:33
Eli the Computer Guy
Рет қаралды 249 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 106 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 8 МЛН
Network Mapping
51:20
Eli the Computer Guy
Рет қаралды 496 М.
Introduction to Domains
47:51
Eli the Computer Guy
Рет қаралды 408 М.
AES: How to Design Secure Encryption
15:37
Spanning Tree
Рет қаралды 154 М.
Working With Users and Groups (Linux Zero to Hero 2022)
10:08
Engineer Man
Рет қаралды 11 М.
Physical Network Segmentation
35:43
Eli the Computer Guy
Рет қаралды 297 М.
Brief Discussion of SUID & SGID
9:57
Jason Wertz
Рет қаралды 82 М.
Everything You Need to Know About sudo | Linux Essentials Tutorial
23:51
Akamai Developer
Рет қаралды 39 М.
Umask and Special File Permissions - Linux Tutorial 23
10:46
Caleb Curry
Рет қаралды 10 М.
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 2,8 МЛН
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 7 МЛН
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 7 МЛН
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 1,3 МЛН
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 3,8 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 62 МЛН