semanage 명령어를 사용 하려면 policycoreutils-python 설치해준다.
[root@localhost ~]# semanage
-bash: semanage: command not found
# yum install policycoreutils-python
[root@localhost ~]# semanage
usage: semanage [-h]
{import,export,login,user,port,ibpkey,ibendport,interface,module,node,fcontext,boolean,permissive,dontaudit}
...
'Linux > RedHat, CentOS, ubuntu' 카테고리의 다른 글
[ CentOS ] python3로 변경 후 YUM 실행시 SyntaxError: invalid syntax 원인과 해결 방법 (0) | 2019.12.20 |
---|---|
[리눅스 명령어] tee 표준입력으로부터 표준출력과 파일로 저장 (0) | 2019.11.25 |
CentOS 7 SFTP만 사용할 수 있는 계정 만들기 (0) | 2019.11.24 |
[ Centos 5 ~ 6 ] chkconfig를 이용하여 서비스 자동실행 등록 (0) | 2019.11.22 |
CentOS 7 원격로그 서버 (rsyslog) 구축 (0) | 2019.11.12 |
Compression Comparison of gzip and 7z on CentOS 7. (CentOS 7에서 gzip과 7z 압축 비교) (0) | 2019.10.25 |
Linux 배너파일(issue, issue.net, motd)과 ssh 배너설정 (0) | 2019.10.15 |
linux history 명령어 실행일시 표시하기 (0) | 2019.10.07 |