Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 29 | 30 | 31 |
Tags
- 톰캣
- DB
- 리눅스
- JSON
- 와일드카드
- NetBeans
- curl
- SeLinux
- laravel
- properties
- html
- File
- tomcat
- Linux
- php
- Android
- Spring
- input
- MySQL
- 정규식
- ajax
- javascript
- 이클립스
- java
- 안드로이드
- CentOS
- error
- jquery
- junit
- larravel
Archives
- Today
- Total
합쭈기 programming
[CentOS7]SELinux 보안 정책 수정 본문
SELinux가 구동되는 상태에서 >> setenforce 1
폴더 Access가 안될때가 있다. 보안정책에 따른 접근 문제인데..
chcon 명령어로 보안정책을 수정한다.
사용자 수정
chcon -u [user] [directory or file]
Role 수정
chcon -r [role] [directory or file]
Type 수정
chcon -t [type] [directory or file]
보안정책은 ls-Z 로 확인 가능하다.
참고로 httpd의 타입은 httpd_sys_content_t 이다.
'Linux' 카테고리의 다른 글
| [vsftp]500 Illegal PORT command. (0) | 2016.06.16 |
|---|---|
| [CentOS] nagios에 virtual host 모니터링 기능 추가 (0) | 2016.02.11 |
| [CentOS] Cannot retrieve metalink for repository: epel. Please verify its path and try again (0) | 2015.10.26 |
| [CentOS7] mysql 설치 (0) | 2015.07.15 |
| [CentOS7]톰캣 자동 실행 (0) | 2015.06.29 |