"booleans" "5" "28 2011" "Security Enhanced Linux" " SELinux"
""
booleans - SELinux
.
""
booleans ( ) , .
booleans.local ( ) .
.
booleans /
booleans.local ( ). , , SELinux libselinux:
security_set_boolean_list "(3) "
booleans.local,
permanent =
1.
security_load_booleans "(3) "
booleans /
booleans.local selinux_booleans_path(3) ( ).
booleans(8) ,
setsebool(8) - , , .
selinux_booleans_path(3) . :
/etc/selinux/{SELINUXTYPE}/booleans /etc/selinux/{SELINUXTYPE}/booleans.local
{SELINUXTYPE} - selinux
config (.
selinux_config(5)).
.
" "
.
:
boolean_name value
:
boolean_name
.
value
. :
true " | " false " | " 1 " | " 0
SETLOCALDEFS
config SELinux (.
selinux_config "(5)), " selinux_mkload_policy "(3) " booleans.local
selinux_booleans_path (3),
local.users (.
local.users "(5)) " selinux_users_path "(3). " .
" "
.ad l
.nh
selinux "(8), " booleans "(8), " setsebool "(8), " semanage "(8), " selinux_booleans_path "(3), " security_set_boolean_list "(3), " security_load_booleans "(3), " selinux_mkload_policy "(3), " selinux_users_path "(3), " selinux_config "(5), " local.users "(5) "
<gammaray (at] basealt.ru>.