SELinux 이해하기


참고1: https://lesstif.gitbooks.io/web-service-hardening/content/selinux.html

참고2: https://www.lesstif.com/pages/viewpage.action?pageId=18219476

ls -l /home/adminuser/를 할 때 period가 찍힌 파일들이 있다. 이것은 SELinux Security Context 파일임을 나타낸다. 즉, SELinux가 관리하는파일이라는 것이다.
SELinux에 대한 자세한 내용은 위의 참고1, 참고2를 공부한다

<필수 명령어>
ls -ldZ /var/www/html/
ps -CZ httpd
id -Z

sestatus
getenforce
setenforce 1
setenforce 0
setenforce 2
getenforce

<Setid가 설정된 파일 검색하기>
find /bin /usr/bin /sbin -perm -4000 | xargs ls -ldb

(강추)NuGet and IIS on Windows Server: The Ultimate Guide


참고: https://adamtheautomator.com/nuget-iis-windows-server/?fbclid=IwAR0waqllZv7t0sebDs9bsJ41O4T-daTSupwVdPwy-7gZ5o2-az4E3qQp7Ac

위의 내용을 보고 공부할 것

Table of Contents