[code]cat /selinux/enforce
1
[/code]
[code]sestatus
SELinux status: disabled
[/code]
si je fais cat config:
[code]# mls - Multi-Level Security (for military and educational use)
# src - Custom policy built from source
SELINUXTYPE=default
# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0
root@debian:/etc/selinux#
root@debian:/etc/selinux# sestatus
SELinux status: disabled
root@debian:/etc/selinux# cat config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
# default - equivalent to the old strict and targeted policies
# mls - Multi-Level Security (for military and educational use)
# src - Custom policy built from source
SELINUXTYPE=default
# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0[/code]
je fais nano config pour le modifier j ai ça:
[code]# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
# default - equivalent to the old strict and targeted policies
# mls - Multi-Level Security (for military and educational use)
# src - Custom policy built from source
SELINUXTYPE=default
# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0
[/code]
cat /selinux/enforce
1
sestatus
SELinux status: disabled
si je fais cat config:
[code]# mls - Multi-Level Security (for military and educational use)
src - Custom policy built from source
SELINUXTYPE=default
SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0
root@debian:/etc/selinux#
root@debian:/etc/selinux# sestatus
SELinux status: disabled
root@debian:/etc/selinux# cat config
This file controls the state of SELinux on the system.
SELINUX= can take one of these three values:
enforcing - SELinux security policy is enforced.
permissive - SELinux prints warnings instead of enforcing.
disabled - No SELinux policy is loaded.
SELINUX=enforcing
SELINUXTYPE= can take one of these two values:
default - equivalent to the old strict and targeted policies
mls - Multi-Level Security (for military and educational use)
src - Custom policy built from source
SELINUXTYPE=default
SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0[/code]
je fais nano config pour le modifier j ai ça:
[code]# This file controls the state of SELinux on the system.
SELINUX= can take one of these three values:
enforcing - SELinux security policy is enforced.
permissive - SELinux prints warnings instead of enforcing.
disabled - No SELinux policy is loaded.
SELINUX=enforcing
SELINUXTYPE= can take one of these two values:
default - equivalent to the old strict and targeted policies
mls - Multi-Level Security (for military and educational use)
src - Custom policy built from source
SELINUXTYPE=default
SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0
[/code]