Why is Linux So Secure? | File Permissions and Groups

  Рет қаралды 12,680

Joe Collins (EzeeLinux)

Joe Collins (EzeeLinux)

Күн бұрын

Пікірлер: 65
@JohnCarter04
@JohnCarter04 Жыл бұрын
Joe is back with another 100 level 'about linux' video!!! You seem to be one of the few KZbinrs who has been able to explain these concepts in a way that not only can I understand, but is extremely engaging. Thank you for doing this, even though I've understood user/group permissions for awhile now. A nice refresher.
@definty
@definty Жыл бұрын
I can't wait for the sticky bit, suid and guid lessons! Fun fact! The CD command isn't an executable, it's a Shell built in function. When you use CD it just manipulates the environment variable $PWD. Type 'env' in bash and look for yourselves! Great video Joe! Thanks!
@EzeeLinux
@EzeeLinux Жыл бұрын
I don't know if I need to get that deep. Most regular users don't use that anyway. I will most certainly think about it, though. :)
@definty
@definty Жыл бұрын
@@EzeeLinux Thanks Joe :)
@jorgeruiz7541
@jorgeruiz7541 Жыл бұрын
Hi Joe, greetings from CHIAPAS Mexico. I remember your old video talking about file permissions, groups, how to change it, etc. It was really deep and I also remember that some people criticized that it was too long just for talking about files and so on and so forth and many people came to shut those people up because it was really useful for any kind of Linux user ( new, intermediate, power user) I do love that this refreshing is coming up from you 'cause it's done with a clear voice and the right amount of pace for any person in the world to understand it even if English is not their native language. (Is it difficult for you to hide a little bit your accent?, 'cause I do feel you have a distinctive accent on the radio B99.9, or maybe that's just me, I'm not an English native speaker) When I make new VM's on another people's machines, I often get the question " why do I need to add me the vbox user to my user if I made the VM, in windows is faster and easier to set it up" When I explain security and permissions with them it's easier for them to understand it and get it. One example I use is letting them know how a user in windows needs also permissions to install software when it is not an admin. A normal user it's always asked for the password to install or uninstall anything. Great to see more Linux content as you promised and by the way, your "audio gear tour was awesome". You got some new toys since last time.
@OmarMekkawy
@OmarMekkawy Жыл бұрын
This video is awesome. I can't wait for your next Linux video.
@jamesbrinn9701
@jamesbrinn9701 Жыл бұрын
Greatings from Canada. First Linux install was following your Tutorial on installing Linux Mint, 6 yrs ago Never looked back. Thank you. 👍
@ThePhiliposophy
@ThePhiliposophy Жыл бұрын
I've been using linux on and off (mostly on the raspberry pi) since 2017 and it's only with this video that I finally understood what commands like "chmod 700" really meant, even though I have been using them for quite a while. Fantastic video!
@jimwinchester339
@jimwinchester339 Жыл бұрын
8:05 It's *normally* the last-modification time, but there's an option to show the most-recent access time as well. But you're out-of-luck with respect to creation time: for that, you need 'stat' as you've just shown.
@jimwinchester339
@jimwinchester339 Жыл бұрын
26:58 - Wait, you have to also add group permissions for that: usually x5x.
@buddyc6579
@buddyc6579 Жыл бұрын
ware have you been ? I always listened to your videos ever since I installed Linux Mint Cinnamon years ago and then you disappeared from KZbin Glad to see you are back I'll keep looking for your videos because I have learned so much from you
@davedaley9093
@davedaley9093 Жыл бұрын
Nice introduction to file permissions. By the way, what the execute bit on directory permissions does is allow read permission on the inodes pointed to by the directory entries. If you do a long list on a directory where you lack execute permissions the contents of the inodes are displayed by question marks (at least on the version of ubuntu I am using). On AIX machines I used in the past you just got a short listing.
@EzeeLinux
@EzeeLinux Жыл бұрын
That's good feedback.
@sparkybluefox
@sparkybluefox Жыл бұрын
Another awesome video on Linux Joe ! I love you .~! You Rock ! SBF
@NMY556L
@NMY556L Жыл бұрын
121 views in the first 20 minutes - nice back to basics linux theory which takes me back to my university course 20+ years ago. Note to Windows users: the concepts used years ago still apply to modern software today. I wonder what the oldest original line of code on a modern linux system is? No shame in revisiting the fundamentals of linux.
@SlideRSB
@SlideRSB Жыл бұрын
Octal numbers have a relationship to binary similar to the relationship hexadecimal has to binary. While each hex digit can represent a group of four bits in binary, each octal digit can represent a group of three bits. Octal is so named because each octal digit can take on one value out of a possible eight values (0-7).
@patrickvanreeth7355
@patrickvanreeth7355 Жыл бұрын
Thanks Joe, W10 made me jump to Mint, now my old Dell works just fine... will probably buy more refurbished ones just to experiment/learn while keeping the original oldie safe for 'normal' stuff 🤓😃
@seansean7653
@seansean7653 Жыл бұрын
Great presentation joe
@tonywise198
@tonywise198 Жыл бұрын
Just love these videos. Thank you Joe.
@jaspereijpe9849
@jaspereijpe9849 Жыл бұрын
9:07 what about c--------- and b---------
@martandrmc
@martandrmc Жыл бұрын
those are Character and Block device files
@derekr54
@derekr54 Жыл бұрын
Great video Joe,very useful and informative.
@georgestephens3513
@georgestephens3513 Жыл бұрын
Great video keep them coming.
@77seban
@77seban Жыл бұрын
Thanks Joe All the best 🙂
@h2o40fpv
@h2o40fpv Жыл бұрын
Like always great video thank you.😊
@franciscogana667
@franciscogana667 Жыл бұрын
Really Great Thanks Joe!
@BleuJurassic
@BleuJurassic Жыл бұрын
how do you break the program drop the punch cards .... great explanation of permissions
@kolz4ever1980
@kolz4ever1980 Жыл бұрын
I started using Linux full time about 4 or 5 months ago. I love how open ended and so customizable it is that you can delete and edit so much. Even to the point you can destroy your whole installation if you're not careful lol. Don't like gnome? Change it. Don't like kde? Change it. Don't like either? Use window managers or command terminal entirely. Much more about it that made me enjoy it as time went on.
@poparab
@poparab Жыл бұрын
groups are the concept to give peoples the same right as a projectmanager. Other peoples have the right as a Data Inputworker and so on. The group makes it easier in Linux / Unix. A Admin (root) can setup the group permission generally how he wanted.
@chrismacaber4531
@chrismacaber4531 Жыл бұрын
Speaking about broadcasting.... How can I tune in to good 'ol radio show? Well not exactly, being in western Europe. I would need a stream url😅
@EzeeLinux
@EzeeLinux Жыл бұрын
Just click Listen Live between 7 and midnight EST (US): www.b999fm.com/
@tytrvd
@tytrvd Жыл бұрын
Joe your the best !
@RonHelton
@RonHelton Жыл бұрын
It has been a while, but I think that the file shows the last modified date and time. To show the creation (birth) date, use the stat command and the file name.
@EzeeLinux
@EzeeLinux Жыл бұрын
Yes, you are correct. I just couldn't figure it out while the recorder was running! :)
@sprtwlf9314
@sprtwlf9314 Жыл бұрын
Great info. Thanks!
@skarlok1
@skarlok1 Жыл бұрын
Hey, thanks for a good video about file permissions. Do you have a tutorials for IP tables for less advance linux users? I could use some knowledge on that subject. Like blocking programs from the internet or directories. Or basically firewall for newbies in Linux
@act.13.41
@act.13.41 Жыл бұрын
Thanks Joe!
@mikeparkerinalaska
@mikeparkerinalaska 11 ай бұрын
Thank you for the comment that "Linux is a Unix workalike" and the quick shout-out on Unix.
@gohan3243
@gohan3243 Жыл бұрын
What about minix
@daviddykes6601
@daviddykes6601 Жыл бұрын
Hi Joe. Great show! Instead of using the chmod command to change the group, why don't you use the chgrp command?
@waipalisrevenge3707
@waipalisrevenge3707 Жыл бұрын
What a nice content! Could you please make a video on the main differences between a linux root and windows local admin? How it's handled?
@user-fr3hy9uh6y
@user-fr3hy9uh6y Жыл бұрын
Good explanation. Also shows the limits of having only 9 bits for permissions. How do you give one group read permissions and another group write permissions? If you have a larger organization, how about allowing groups to be members of groups. I have to set up non linux NFS.
@yellingintothewind
@yellingintothewind Жыл бұрын
Extended attributes. `setfacl` is the command.
@daviddykes6601
@daviddykes6601 Жыл бұрын
Correction: I think you used the chown command instead of the chmod.
@scottmb99
@scottmb99 Жыл бұрын
Permissions . .. .I sill have two USB drives I can no longer use because I filled them up using BU. I don't have 'Permission' to reformat them, or delete the files!
@EzeeLinux
@EzeeLinux Жыл бұрын
Yes you do!... You can do all those operations as root. Try this: Run 'sudo -s' at the terminal. Now, you're running as root. hook up those drives and delete whatever you want. When you're done just run 'exit' to go back to normal privileges. :)
@scottmb99
@scottmb99 Жыл бұрын
@@EzeeLinux Perfect, THANK YOU! That worked and I was able to remove the BU folder for a laptop that I no longer own and allow me to continue to use it for my new laptop. Thanks for all your past and ongoing support - it really helps a novice like me figure this new world out!
@EzeeLinux
@EzeeLinux Жыл бұрын
@@scottmb99 :)
@InsideOfMyOwnMind
@InsideOfMyOwnMind Жыл бұрын
toad in the hole. Pointing at myself..."GROW UP!"🤣 Have you ever made that recipe? Looks pretty good.
@kevinrineer5356
@kevinrineer5356 Жыл бұрын
TIL now Directory permissions are helpful!
@thiesenf
@thiesenf 9 ай бұрын
Uhm... nobody noticed he did a typo?
@MartianPink
@MartianPink 10 ай бұрын
I've heard/read several times that Linux is more secure becuz of groups & file permissions. But doesn't Windows do that too, & I would guess Mac since that's more unix like but I haven't seen it so Idk? Does anyone know & is willing to tell me why groups & permissions make Linux more secure. I assume when they say "more", they mean more than Windows & Mac, or at least Windows. If I'm wrong can someone tell me what "more" means here? I'm not so skeptical that HOW they're used makes Linux more secure since people with lots of knowledge repeat it, so it seems safe to accept is probably true, but no one tells us. They keep only saying it's secure "becuz of groups & file permissions", as in it's the fact there are permissions that makes it more secure? They don't say "Linux is more secure than Windows becuz Linux does this with permissions while Windows does it that way" or "Linux does this & that with permissions, but Windows only does this without that". Is everyone simply repeating a dogma that, like me, they heard repeatedly, but never thought about it to see it's not an explanation at all? Or maybe they figure by explaining how permissions & groups work in Linux, that we already know how they work in Windows &/or Mac & will see for our selves why it's more secure, no explanation needed? I'd love if someone pointed out the difference that leads to better security. Other than coming across them in Windows (probably 7, where iirc it only used read, write, execute, I just looked & see they now use a few more permissions) while looking at file Properties out of curiosity, without interacting with them, I don't actually know how they work. It turns out that the way I assumed they work when I first saw them is exactly how they do work in Linux. As far as the basics go anyways. So at my level, it seems like Linux & Windows are equal at using them, so I still don't' know why permissions & groups make Linux more secure. Is it really that different in Windows?
@Obeeewaan
@Obeeewaan Жыл бұрын
when changing the group ownership to vboxusers, you might have to also add the group permissions for them also before they vould actually use it... I think..😎 they couldn't do much at 0600 ??
@rbettsx
@rbettsx Жыл бұрын
Ignorant Brit, here.. what Southern accent *exactly* do you speak in? It's soooooo precise in the consonants, and clear. Maybe you're just well-practised with a mike, too.
@EzeeLinux
@EzeeLinux Жыл бұрын
I don't speak any accent that I know of... I have spent 40 years in radio and TV, though. I guess that has something to do with it.
@thejoneseys
@thejoneseys Жыл бұрын
My logitech mouse is also hyper sensitive if it's in free wheel scroll mode I only have to cough near it for the screen to scroll 😂
@gaiusbaltar7122
@gaiusbaltar7122 Жыл бұрын
*cat > file world! >EOF *cat file* Hello World!
@YanFei-zi7mm
@YanFei-zi7mm Жыл бұрын
Comment and Like ! Thanks
@TimoYlhainen
@TimoYlhainen 10 ай бұрын
Is Linux secure?
@VictoriaMan69
@VictoriaMan69 Жыл бұрын
I prefer calling it nuke and pave when starting again from scratch.
@surfbug1
@surfbug1 5 ай бұрын
LAST MODIFIED SIR
@RonHelton
@RonHelton Жыл бұрын
Jokes, lol What is a magician called who has lost his magic?
@sohibmohamed9548
@sohibmohamed9548 Жыл бұрын
ian
@jurgenblick5491
@jurgenblick5491 Жыл бұрын
I am really disappointed in Linux Mint
Linux fstab File Basics | What you need to know
34:24
Joe Collins (EzeeLinux)
Рет қаралды 13 М.
Let's Manipulate Permissions and Ownership!
17:59
Shawn Powers
Рет қаралды 12 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Linux for Programmers #3 | Linux Users and Groups
19:42
Akamai Developer
Рет қаралды 29 М.
Linux Crash Course - Managing Groups
23:43
Learn Linux TV
Рет қаралды 49 М.
Secure BANKING on Linux with Linux Mint
29:31
Switched to Linux
Рет қаралды 27 М.
Learning the Linux File System
25:09
Joe Collins (EzeeLinux)
Рет қаралды 1,2 МЛН
Linux File Permissions | Into the Terminal 105
48:15
Red Hat Enterprise Linux
Рет қаралды 898
Linux Crash Course - Understanding File & Directory Permissions
35:48
Learn Linux TV
Рет қаралды 124 М.
Linux Does Not Suck 2024 | We've Come a Long Way, Baby!
34:25
Joe Collins (EzeeLinux)
Рет қаралды 15 М.
Do You Need A Separate /home Partition for Linux?
46:11
Joe Collins (EzeeLinux)
Рет қаралды 62 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН