Join Sean Colins for an in-depth discussion in this video Moving files, part of Linux: Firewalls and SELinux.
- [Instructor] Now that you know how to C-P files…and what you should expect from the contexts…and the type labels whenever you do so,…let's talk about moving files 'cause it's kind of different…and I wanted to show you what's going to happen…and what to do about it.…Files and directories keep their current S-C Linux context…when they're moved, which is in stark contrast…to the behavior of the copy operation.…We're going to start off here.…I'm already in my home directory…and you can see we're going to touch…movings dot T-X-T.…Just going to create a new file called movings,…and if I L-S dash capital Z on movings,…you can see there that the user underscore home,…underscore T type is enabled there,…and what we're going to do is we're going to M-V this…over to another directory.…
We're going to stick with our standard from the previous movie.…We're going to M-V this into ETC.…so we can see what the result will be.…To do that, obviously, we need to be root,…so we're going to sudo dash S,…password.…So we're going to M-V the file movings…
- Working with iptables
- Installing Firewalld
- Exploring zones and services
- Allowing the Apache web server
- Allowing FTP and SFTP servers
- Installing SELinux utils
- Setting discretionary or mandatory access
- Installing SELinux man pages
- Working with Booleans
- Changing context labels
- Running sepolicy
- Finding SELinux logs
- Making domains permissive
- Disabling and reenabling SELinux
Skill Level Intermediate
Linux: Multitasking at the Command Linewith Scott Simpson39m 1s Intermediate
1. Firewall Basics on Linux
2. Configuring Firewalld for Local Protection
3. SELinux Fundamentals
4. Working with SELinux
5. SELinux Troubleshooting
Next steps3m 4s
- 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.