From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

List and identify SELinux file and process contexts

List and identify SELinux file and process contexts - Linux Tutorial

From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep

List and identify SELinux file and process contexts

- [Instructor] In this lesson, we'll explore SELinux context applied to files and processes. We saw that Linux supports some rudimentary forms of access control. Files and directories have permissions that establish who can read, write, or execute content. Also, regular users are not allowed to do certain things that the root user can do. But these forms of security are not enough for today's world of sophisticated cyber attacks. They're just too generic and not fine tuned enough. And a simple read or write permission gives a user or process too much power over a particular area of the system. Fortunately, the Linux kernel can be easily extended with so-called modules, and there's a security module called SELinux that adds a very advanced capabilities of restricting access. Now, SELinux is pre-configured and enabled by default on operating systems from the Red Hat family, but it's not enabled by default on Ubuntu. And the initial configuration on Ubuntu can be a bit tricky, but we'll…

Contents