课程: Linux: Storage Systems (2016)
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Restore default SELinux file contexts
- [Instructor] SELinux File Contexts. So associated with files, when you're using SELinux, is the context that the kernel uses, to check for permissions. You can see the context, with the capital Z, or capital Zed, option, the LS. The way it works in the kernel is, it checks regular permissions, the typical read/write/execute sort of stuff. And it checks extra stuff, based on these contexts. So this is going on in the kernel, in fact, pretty much every system call on the kernel, has a hook in it, to do extra checks. So one of the great benefits of this, is a service, like a web server, can check the context on a file, or a kernel can enforce that, to prevent the web server from serving files it's not supposed to serve, for example. So if someone, say, tried to get your web server to serve up your password file, it wouldn't be able to do it, because of these sort of checks. So, you sometimes need to adjust these, so that, for example, this web server can serve up a page. If you just…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
(已锁定)
Restore default SELinux file contexts7 分钟 55 秒
-
(已锁定)
Configure encrypted partitions4 分钟 58 秒
-
(已锁定)
Manage file system access control lists6 分钟 46 秒
-
(已锁定)
File permission problems6 分钟 59 秒
-
Using SUID, attributes, and read-only7 分钟 49 秒
-
(已锁定)
User and group disk quotas7 分钟 18 秒
-
(已锁定)
Challenge: SELinux, LUKS, ACLs, and quotas1 分钟 59 秒
-
(已锁定)
Solution: SELinux, LUKS, ACLs, and quotas7 分钟 42 秒
-
(已锁定)
-
-
-