Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@localhost ~]# history
- 1 history
- 2 systemctl status httpd
- 3 getenforce
- 4 grep AVC /var/log/audit/audit.log
- 5 journalctl | grep sealert
- 6 sealert -l 4b3286d7-c665-444a-8a83-7f98648061af | less
- 7 semanage port -a -t http_port_t -p tcp 82
- 8 systemctl restart httpd
- 9 systemctl status httpd
- 10 history
- 11 vim /etc/httpd/conf/httpd.conf
- 12 mkdir /web
- 13 echo hello > /web/index.html
- 14 systemctl restart httpd
- 15 curl localhost:82
- 16 getenforce
- 17 grep AVC /var/log/audit/audit.log
- 18 ls -Z /var/www
- 19 man semanage-fcontext
- 20 # semanage fcontext -a -t httpd_sys_content_t "/web(/.*)?"
- 21 # restorecon -R -v /web
- 22 semanage fcontext -a -t httpd_sys_content_t "/web(/.*)?"
- 23 restorecon -Rv /web
- 24 curl localhost:82
- 25 journalctl | grep sealert
- 26 sealert -l b21de9d6-4db0-46da-b1a1-4050ada199ad | less
- 27 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement