Users Guide

Linux SupportAssist Enterprise Security Enhanced Linux
(SELinux) SELinux
SupportAssist Enterprise
使 SMTP SupportAssist Enterprise SMTP
SupportAssist Enterprise 便 SMTP
SMTP
SupportAssist Enterprise
SELinux
Security-Enhanced Linux (SELinux) Linux SupportAssist
Enterprise SELinux SupportAssist Enterprise SNMP
SupportAssist Enterprise SupportAssist Enterprise
SupportAssist Enterprise
: SELinux
Red Hat Enterprise Linux 6 7
CentOS 6 7
Oracle Enterprise Linux 6 7
1. supportassistpolicy.te
2. (supportassistpolicy.te)
module supportassistpolicy 1.0;
require {
type websm_port_t;
type snmpd_t;
type root_t;
class tcp_socket name_connect;
class dir { write add_name };
class file { write getattr open create };
}
#============= snmpd_t ==============
allow snmpd_t websm_port_t:tcp_socket name_connect;
allow snmpd_t root_t:dir write;
allow snmpd_t root_t:dir add_name;
allow snmpd_t root_t:file { write create open getattr };
3.
4.
5. checkmodule -M -m -o supportassistpolicy.mod supportassistpolicy.te Enter
6. semodule_package -o supportassistpolicy.pp -m supportassistpolicy.mod Enter
7. semodule -i supportassistpolicy.pp Enter
SupportAssist Enterprise
使 SupportAssist Enterprise
SupportAssist Enterprise
SupportAssist Enterprise
使 23