In this video, Kevn Dankwardt shows the solutions for the challenge to use SELinux, LUKS, ACLs, and disk quotas. How to manipulate SELinux context types, set up partition encryption, and set ACLs.
(mystical ringing)…- [Instructor] So we've got a lot to do,…so let's just jump right into it.…The first challenge has to do with SELinux…and we're going to be manipulating the SELinux contexts…for etc/motds.…So let's first check what it is.…And it's etc_t, the standard one.…So, I am in the contexts files directory,…so let's just remember where we are,…that could be handy in a little variable,…double check it.…
Okay good.…Let's make a directory in tmp to make a copy of this.…Alright, we copied everything there.…Now, let's use semanage to set…a new default context type for motd.…So semanage, fcontext, alright that seems to be happy.…It shouldn't have changed the context yet,…let's just double check.…It's still etc_t.…Well let's see what changed in where we are.…
So if we do a recursive diff here in tmp, save.…Alright, so we've got a couple of new files here.…We've got in the file_contexts.local the entry for the motd.…Let's do a restorecon on etc/motd to make sure…that our semanage really will make it be bin_t…so let's check that.…
- Partitioning storage
- Creating, mounting, and unmounting file systems
- Formatting file systems
- Making volumes with LVM
- Adding storage security
- Managing swap spaces
- Backing up and recovering Linux storage systems
- Working with networked file systems like NFS and SSHFS
Skill Level Intermediate
Linux: Bash Shell and Scriptswith Kevin Dankwardt2h 46m Intermediate
Linux: Multitasking at the Command Linewith Scott Simpson39m 1s Intermediate
1. Disk Partitions, Formatting, and Mounting
2. Logical Volume Manager (LVM)
3. Security and Resource Constraints
4. Special Storage Features and Considerations
5. Networked File Systems
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.