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
- Python
- PostgreSQL
- centos 7.5
- Elk
- 디렉토리
- JSON
- audit
- 파이썬
- K8S
- Shell
- Elasticsearch
- Audit Log
- docker
- 크롬
- log
- syslog
- Chrome
- 서울시민카드
- GNOME
- Linux
- Kubernetes
- rsyslog
- RHEL
- zabbix
- 빅데이터
- C
- CentOS
- bash
- GPU
- yum
Archives
- Today
- Total
Sysops Notepad
[Linux] CentOS SELinux 비활성화 본문
728x90
설치 환경
- CentOS 8
- CentOS 7
- CentOS 6
1. SELinux 설정 확인
[root@sysops]# sestatus
[root@sysops]# sestatus | grep 'SELinux status\|Current mode'
SELinux status: enabled
Current mode: enforcing
2. 일시적으로 비활성화시키기
[root@sysops]# setenforce 0
[root@sysops]# sestatus | grep 'SELinux status\|Current mode'
SELinux status: enabled
Current mode: permissive
3. 영구적으로 비활성화시키기
[root@sysops]# vim /etc/selinux/config
...
SELINUX=disabled #수정
[root@sysops]# reboot
[root@sysops]# sestatus
SELinux status: disabled
728x90
'업무 > sys' 카테고리의 다른 글
| [Linux] 자산 관리 오픈소스 Snipe-IT 설치하기 (0) | 2021.11.15 |
|---|---|
| [Linux] MongoDB 4.x 설치 (0) | 2021.11.15 |
| [LINUX] disk io 상태 확인하기 (0) | 2021.11.09 |
| [LINUX] ifconfig 항목 설명 (0) | 2021.11.09 |
| Alma linux 8.x 설치 (1) | 2021.08.23 |
Comments