Join Sean Colins for an in-depth discussion in this video Finding SELinux logs, part of Linux: Firewalls and SELinux.
While working with SELinux, it is very likely…that you'll end up wanting to look at a log file…of errors that are being generated by SELinux.…This is especially true if you're going to be…running your system in permissive mode in anticipation…of running it, eventually, in enforcing mode.…If you're having problems in enforcing mode, moving…your system back to permissive mode so that logs…can be generated, rather than having behaviors blocked,…is a really great way of finding out what's…going on with SELinux.…
Now, those logs are located in /var/log, and because…some of the operations we're about to perform…require root access, we're going to type sudo -s…and I'm in as root.…If you have not typed sudo -s in the last five minutes,…it will ask you for your password, but I have…recently, so I'm in already, and what I'm going to do…is I'm going to cd into /var/log, and I'm…just going to ls.…Now, you can see here in the upper left hand corner,…you can see where it says audit in blue,…right in the middle there towards the bottom,…
- 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.