13장 웹서버 추가 설정 *Apache Selinux 설정 =================== 1.Selinux 확인 # ls -Zd /www1/ drwxr-xr-x. root root unconfined_u:object_r:default_t:s0 /www1/ 2.file context db 에 등록 # semanage fcontext -a -t httpd_sys_content_t '/www1(/.*)?' 3.Selinux 재확인/ 변경이 안되어 있음. # ls -Zd /www1/ drwxr-xr-x. root root unconfined_u:object_r:default_t:s0 /www1/ 4.file context db 확인 # semanage fcontext -l |grep www1 /www1(/..
2.사용자 보안 향상 *Sudo ====== 설정파일 : /etc/sudoers 문법 : username machine=user:group commands 예1) users ==> student1 student2 /etc/sudoer ~~~ student1 ALL=(student2) ALL ~~~ a.sh (chmod 700 for student2) 오직 student2만 실행가능 ~~~ echo tat >/tmp/file sleep 90 ~~~ student1#sudo -u student2 a.sh #ps -ef|grep sleep student2 ps ~~~~ ==> studnets2로 실행된다. 예2) 1 2 3 root ALL=(ALL) ALL 의미) root 유저는 모든 호스트에서(1ALL) 해..
- Total
- Today
- Yesterday
- BC주
- 우드워킹
- 벌링턴
- RHCE
- basement
- Red Hat
- 밀튼
- docker
- RHEL
- 미시사가
- ansible
- 토론토
- certification
- Canada
- 온타리오
- 정착서비스
- 부모님초청이민
- Certificate
- 옥빌
- 캐나다
- Jay
- 토론토정착서비스
- git proGit
- 캐나다부동산
- cert
- 부동산분석
- 인터넷
- redhat
- BTBS
- TORONTO
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |