SELinux 사용 예

※ 참고 (2026년 기준) dovecot_disable_trans, openvpn_disable_trans 같은 *_disable_trans 옵션은 RHEL 5 시절 것으로 이후 버전에는 없다. allow_execheap 은 selinuxuser_execheap 으로 이름이 바뀌었다. httpd 안에서 다른 서버의 Database를 사용하고 싶을때 [crayon-6b0472457a3d5452911580/]…

Continue ReadingSELinux 사용 예

iptables 목록들

Basic IP Block [crayon-6b0472457b3f2200280988/] Allow incoming SSH [crayon-6b0472457b3fb162012723/] Allow incoming SSH from a Specific Network [crayon-6b0472457b3fd311388249/] Combine Multiple Ports rules [crayon-6b0472457b400940705303/] Load Balance Incoming Web Traffic [crayon-6b0472457b402795903069/] Prevent Dos Attack…

Continue Readingiptables 목록들

history 조회시 날짜 시간 표시하기

출처] http://faq.hostway.co.kr/?mid=Linux_ETC&page=8&document_srl=1424 [ history 조회시 '날짜,시간' 표시하기 ] history로 사용자가 입력했던 명령어를 조회할때 "언제" 실행 했는지를 알아야 할 때가 있습니다. /etc/profile에 HISTTIMEFORMAT 변수를 추가해 주면 history 조회시 해당 명령어를 입력한 날짜,…

Continue Readinghistory 조회시 날짜 시간 표시하기