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 |
Tags
- yum
- Elk
- Kubernetes
- 크롬
- Python
- rsyslog
- audit
- log
- bash
- 디렉토리
- Linux
- CentOS
- zabbix
- JSON
- Elasticsearch
- centos 7.5
- Chrome
- 파이썬
- GPU
- C
- syslog
- GNOME
- Shell
- PostgreSQL
- 빅데이터
- Audit Log
- RHEL
- 서울시민카드
- K8S
- docker
Archives
- Today
- Total
Sysops Notepad
[Linux] CentOS SELinux 비활성화 본문
설치 환경
- 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
'업무 > 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