|
Chris PeBenito |
b16c6b |
|
|
Chris PeBenito |
6f8cda |
policy_module(userdomain,1.3.10)
|
|
Chris PeBenito |
6f81e1 |
|
|
Chris PeBenito |
6f81e1 |
gen_require(`
|
|
Chris PeBenito |
4ace0f |
role sysadm_r, staff_r, user_r;
|
|
Chris PeBenito |
4ace0f |
|
|
Chris PeBenito |
4ace0f |
ifdef(`enable_mls',`
|
|
Chris PeBenito |
4ace0f |
role secadm_r;
|
|
Chris PeBenito |
4ace0f |
')
|
|
Chris PeBenito |
6f81e1 |
')
|
|
Chris PeBenito |
b16c6b |
|
|
Chris PeBenito |
b16c6b |
########################################
|
|
Chris PeBenito |
b16c6b |
#
|
|
Chris PeBenito |
b16c6b |
# Declarations
|
|
Chris PeBenito |
b16c6b |
#
|
|
Chris PeBenito |
b16c6b |
|
|
Chris PeBenito |
daa0e0 |
# admin users terminals (tty and pty)
|
|
Chris PeBenito |
daa0e0 |
attribute admin_terminal;
|
|
Chris PeBenito |
daa0e0 |
|
|
Chris PeBenito |
daa0e0 |
# users home directory
|
|
Chris PeBenito |
daa0e0 |
attribute home_dir_type;
|
|
Chris PeBenito |
daa0e0 |
|
|
Chris PeBenito |
daa0e0 |
# users home directory contents
|
|
Chris PeBenito |
daa0e0 |
attribute home_type;
|
|
Chris PeBenito |
daa0e0 |
|
|
Chris PeBenito |
b16c6b |
# The privhome attribute identifies every domain that can create files under
|
|
Chris PeBenito |
b16c6b |
# regular user home directories in the regular context (IE act on behalf of
|
|
Chris PeBenito |
b16c6b |
# a user in writing regular files)
|
|
Chris PeBenito |
b16c6b |
attribute privhome;
|
|
Chris PeBenito |
b16c6b |
|
|
Chris PeBenito |
23ca91 |
# all unprivileged users home directories
|
|
Chris PeBenito |
23ca91 |
attribute user_home_dir_type;
|
|
Chris PeBenito |
23ca91 |
attribute user_home_type;
|
|
Chris PeBenito |
23ca91 |
|
|
Chris PeBenito |
23ca91 |
# all unprivileged users ptys
|
|
Chris PeBenito |
23ca91 |
attribute user_ptynode;
|
|
Chris PeBenito |
23ca91 |
|
|
Chris PeBenito |
ab940a |
# all unprivileged users tmp files
|
|
Chris PeBenito |
ab940a |
attribute user_tmpfile;
|
|
Chris PeBenito |
ab940a |
|
|
Chris PeBenito |
ebdc3b |
# all unprivileged users ttys
|
|
Chris PeBenito |
ebdc3b |
attribute user_ttynode;
|
|
Chris PeBenito |
ebdc3b |
|
|
Chris PeBenito |
b16c6b |
# all user domains
|
|
Chris PeBenito |
b16c6b |
attribute userdomain;
|
|
Chris PeBenito |
b16c6b |
|
|
Chris PeBenito |
b16c6b |
# unprivileged user domains
|
|
Chris PeBenito |
b16c6b |
attribute unpriv_userdomain;
|
|
Chris PeBenito |
b16c6b |
|
|
Chris PeBenito |
8dca6b |
attribute untrusted_content_type;
|
|
Chris PeBenito |
8dca6b |
attribute untrusted_content_tmp_type;
|
|
Chris PeBenito |
8dca6b |
|
|
Chris PeBenito |
b16c6b |
########################################
|
|
Chris PeBenito |
b16c6b |
#
|
|
Chris PeBenito |
b16c6b |
# Local policy
|
|
Chris PeBenito |
b16c6b |
#
|
|
Chris PeBenito |
76bff3 |
|
|
Chris PeBenito |
32e53a |
define(`role_change',`
|
|
Chris PeBenito |
0c73cd |
allow $1_r $2_r;
|
|
Chris PeBenito |
0c73cd |
type_change $2_t $1_devpts_t:chr_file $2_devpts_t;
|
|
Chris PeBenito |
0c73cd |
type_change $2_t $1_tty_device_t:chr_file $2_tty_device_t;
|
|
Chris PeBenito |
0c73cd |
# avoid annoying messages on terminal hangup
|
|
Chris PeBenito |
0c73cd |
dontaudit $1_t { $2_devpts_t $2_tty_device_t }:chr_file ioctl;
|
|
Chris PeBenito |
32e53a |
')
|
|
Chris PeBenito |
32e53a |
|
|
Chris PeBenito |
c98340 |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
c6d4c8 |
# Define some type aliases to help with compatibility with
|
|
Chris PeBenito |
c6d4c8 |
# macros and domains from the "strict" policy.
|
|
Chris PeBenito |
c6d4c8 |
unconfined_alias_domain(secadm_t)
|
|
Chris PeBenito |
c6d4c8 |
unconfined_alias_domain(sysadm_t)
|
|
Chris PeBenito |
c6d4c8 |
|
|
Chris PeBenito |
c98340 |
# User home directory type.
|
|
Chris PeBenito |
02bcb8 |
type user_home_t alias { staff_home_t sysadm_home_t }, home_type, user_home_type;
|
|
Chris PeBenito |
0b28a2 |
files_type(user_home_t)
|
|
Chris PeBenito |
c3cf66 |
files_associate_tmp(user_home_t)
|
|
Chris PeBenito |
c3cf66 |
fs_associate_tmpfs(user_home_t)
|
|
Chris PeBenito |
0b28a2 |
|
|
Chris PeBenito |
02bcb8 |
type user_home_dir_t alias { staff_home_dir_t sysadm_home_dir_t }, home_dir_type, home_type, user_home_dir_type;
|
|
Chris PeBenito |
0b28a2 |
files_type(user_home_dir_t)
|
|
Chris PeBenito |
c3cf66 |
files_associate_tmp(user_home_dir_t)
|
|
Chris PeBenito |
c3cf66 |
fs_associate_tmpfs(user_home_dir_t)
|
|
Chris PeBenito |
32e53a |
|
|
Chris PeBenito |
672a15 |
# compatibility for switching from strict
|
|
Chris PeBenito |
3797ef |
# dominance { role secadm_r { role system_r; }}
|
|
Chris PeBenito |
3797ef |
# dominance { role sysadm_r { role system_r; }}
|
|
Chris PeBenito |
3797ef |
# dominance { role user_r { role system_r; }}
|
|
Chris PeBenito |
3797ef |
# dominance { role staff_r { role system_r; }}
|
|
Chris PeBenito |
672a15 |
|
|
Chris PeBenito |
c98340 |
# dont need to use the full role_change()
|
|
Chris PeBenito |
c98340 |
allow sysadm_r system_r;
|
|
Chris PeBenito |
da4fc9 |
allow sysadm_r user_r;
|
|
Chris PeBenito |
c98340 |
allow user_r system_r;
|
|
Chris PeBenito |
c98340 |
allow user_r sysadm_r;
|
|
Chris PeBenito |
c98340 |
allow system_r sysadm_r;
|
|
Chris PeBenito |
c98340 |
allow system_r sysadm_r;
|
|
Chris PeBenito |
32e53a |
|
|
Chris PeBenito |
671673 |
allow privhome user_home_t:dir manage_dir_perms;
|
|
Chris PeBenito |
671673 |
allow privhome user_home_t:file create_file_perms;
|
|
Chris PeBenito |
671673 |
allow privhome user_home_t:lnk_file create_lnk_perms;
|
|
Chris PeBenito |
671673 |
allow privhome user_home_t:fifo_file create_file_perms;
|
|
Chris PeBenito |
671673 |
allow privhome user_home_t:sock_file create_file_perms;
|
|
Chris PeBenito |
671673 |
allow privhome user_home_dir_t:dir rw_dir_perms;
|
|
Chris PeBenito |
671673 |
type_transition privhome user_home_dir_t:{ dir file lnk_file fifo_file sock_file } user_home_t;
|
|
Chris PeBenito |
671673 |
files_search_home(privhome)
|
|
Chris PeBenito |
671673 |
|
|
Chris PeBenito |
bf080a |
ifdef(`enable_mls',`
|
|
Chris PeBenito |
bf080a |
allow secadm_r system_r;
|
|
Chris PeBenito |
bf080a |
allow secadm_r user_r;
|
|
Chris PeBenito |
bf080a |
allow user_r secadm_r;
|
|
Chris PeBenito |
bf080a |
allow staff_r secadm_r;
|
|
Chris PeBenito |
bf080a |
')
|
|
Chris PeBenito |
bf080a |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
671673 |
samba_per_userdomain_template(user)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
c98340 |
',`
|
|
Chris PeBenito |
c98340 |
admin_user_template(sysadm)
|
|
Chris PeBenito |
c98340 |
unpriv_user_template(staff)
|
|
Chris PeBenito |
c98340 |
unpriv_user_template(user)
|
|
Chris PeBenito |
c98340 |
|
|
Chris PeBenito |
c98340 |
# user role change rules:
|
|
Chris PeBenito |
c98340 |
# sysadm_r can change to user roles
|
|
Chris PeBenito |
c98340 |
role_change(sysadm, user)
|
|
Chris PeBenito |
c98340 |
role_change(sysadm, staff)
|
|
Chris PeBenito |
c98340 |
|
|
Chris PeBenito |
c98340 |
# only staff_r can change to sysadm_r
|
|
Chris PeBenito |
c98340 |
role_change(staff, sysadm)
|
|
Chris PeBenito |
4ace0f |
|
|
Chris PeBenito |
4ace0f |
ifdef(`enable_mls',`
|
|
Chris PeBenito |
4ace0f |
admin_user_template(secadm)
|
|
Chris PeBenito |
a4bbe3 |
role_change(staff,secadm)
|
|
Chris PeBenito |
a4bbe3 |
role_change(sysadm,secadm)
|
|
Chris PeBenito |
4ace0f |
')
|
|
Chris PeBenito |
c98340 |
|
|
Chris PeBenito |
c98340 |
# this should be tunable_policy, but
|
|
Chris PeBenito |
c98340 |
# currently type_change and RBAC allow
|
|
Chris PeBenito |
c98340 |
# do not work in conditionals
|
|
Chris PeBenito |
c98340 |
ifdef(`user_canbe_sysadm',`
|
|
Chris PeBenito |
c98340 |
role_change(user,sysadm)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
76bff3 |
|
|
Chris PeBenito |
c98340 |
allow privhome home_root_t:dir { getattr search };
|
|
Chris PeBenito |
daa0e0 |
|
|
Chris PeBenito |
c98340 |
########################################
|
|
Chris PeBenito |
c98340 |
#
|
|
Chris PeBenito |
c98340 |
# Sysadm local policy
|
|
Chris PeBenito |
c98340 |
#
|
|
Chris PeBenito |
daa0e0 |
|
|
Chris PeBenito |
c98340 |
# for su
|
|
Chris PeBenito |
c98340 |
allow sysadm_t userdomain:fd use;
|
|
Chris PeBenito |
76bff3 |
|
|
Chris PeBenito |
c98340 |
# Add/remove user home directories
|
|
Chris PeBenito |
c98340 |
allow sysadm_t user_home_dir_t:dir create_dir_perms;
|
|
Chris PeBenito |
1c1ac6 |
files_home_filetrans(sysadm_t,user_home_dir_t,dir)
|
|
Chris PeBenito |
dc771f |
|
|
Chris PeBenito |
a52492 |
corecmd_exec_shell(sysadm_t)
|
|
Chris PeBenito |
a52492 |
|
|
Chris PeBenito |
bf080a |
mls_process_read_up(sysadm_t)
|
|
Chris PeBenito |
bf080a |
|
|
Chris PeBenito |
b0d224 |
init_exec(sysadm_t)
|
|
Chris PeBenito |
b0d224 |
|
|
Chris PeBenito |
e5f806 |
ifdef(`direct_sysadm_daemon',`
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
e5f806 |
init_run_daemon(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
e5f806 |
')
|
|
Chris PeBenito |
2283dc |
',`
|
|
Chris PeBenito |
2283dc |
ifdef(`distro_gentoo',`
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
2283dc |
seutil_init_script_run_runinit(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
2283dc |
')
|
|
Chris PeBenito |
2283dc |
')
|
|
Chris PeBenito |
e5f806 |
')
|
|
Chris PeBenito |
e5f806 |
|
|
Chris PeBenito |
51a89c |
ifdef(`enable_mls',`
|
|
Chris PeBenito |
8cf671 |
corecmd_exec_shell(secadm_t)
|
|
Chris PeBenito |
8cf671 |
mls_process_read_up(secadm_t)
|
|
Chris PeBenito |
8cf671 |
mls_file_write_down(secadm_t)
|
|
Chris PeBenito |
8cf671 |
mls_file_upgrade(secadm_t)
|
|
Chris PeBenito |
8cf671 |
mls_file_downgrade(secadm_t)
|
|
Chris PeBenito |
a3cf80 |
init_exec(secadm_t)
|
|
Chris PeBenito |
51a89c |
logging_read_audit_log(secadm_t)
|
|
Chris PeBenito |
3b9147 |
logging_run_auditctl(secadm_t,secadm_r,{ secadm_tty_device_t secadm_devpts_t })
|
|
Chris PeBenito |
103fe2 |
userdom_dontaudit_append_staff_home_content_files(secadm_t)
|
|
Chris PeBenito |
51a89c |
', `
|
|
Chris PeBenito |
51a89c |
logging_domtrans_auditctl(sysadm_t)
|
|
Chris PeBenito |
51a89c |
logging_read_audit_log(sysadm_t)
|
|
Chris PeBenito |
3b9147 |
logging_run_auditctl(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
51a89c |
')
|
|
Chris PeBenito |
51a89c |
|
|
Chris PeBenito |
1f91e1 |
tunable_policy(`allow_ptrace',`
|
|
Chris PeBenito |
1f91e1 |
domain_ptrace_all_domains(sysadm_t)
|
|
Chris PeBenito |
1f91e1 |
')
|
|
Chris PeBenito |
1f91e1 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
10b1f3 |
amanda_run_recover(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
10b1f3 |
')
|
|
Chris PeBenito |
10b1f3 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c2b18f |
apache_run_helper(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
e749cd |
#apache_run_all_scripts(sysadm_t,sysadm_r)
|
|
Chris PeBenito |
c2b18f |
#apache_domtrans_sys_script(sysadm_t)
|
|
Chris PeBenito |
c2b18f |
')
|
|
Chris PeBenito |
c2b18f |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
4483ee |
# cjp: why is this not apm_run_client
|
|
Chris PeBenito |
4483ee |
apm_domtrans_client(sysadm_t)
|
|
Chris PeBenito |
4483ee |
')
|
|
Chris PeBenito |
4483ee |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0c54fc |
apt_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
bootloader_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
32e53a |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
d83fda |
bind_run_ndc(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
d83fda |
')
|
|
Chris PeBenito |
d83fda |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
08c22f |
bluetooth_run_helper(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
08c22f |
')
|
|
Chris PeBenito |
08c22f |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
clock_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
58c3da |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
2bcdbd |
certwatach_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
2bcdbd |
')
|
|
Chris PeBenito |
2bcdbd |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
a52492 |
consoletype_exec(sysadm_t)
|
|
Chris PeBenito |
51a89c |
|
|
Chris PeBenito |
51a89c |
ifdef(`enable_mls',`
|
|
Chris PeBenito |
51a89c |
consoletype_exec(secadm_t)
|
|
Chris PeBenito |
51a89c |
')
|
|
Chris PeBenito |
a52492 |
')
|
|
Chris PeBenito |
a52492 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
871079 |
ddcprobe_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
871079 |
')
|
|
Chris PeBenito |
871079 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
51a89c |
dmesg_exec(sysadm_t)
|
|
Chris PeBenito |
b0d224 |
|
|
Chris PeBenito |
b0d224 |
ifdef(`enable_mls',`
|
|
Chris PeBenito |
b0d224 |
dmesg_exec(secadm_t)
|
|
Chris PeBenito |
b0d224 |
')
|
|
Chris PeBenito |
51a89c |
')
|
|
Chris PeBenito |
51a89c |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
20e306 |
dmidecode_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
20e306 |
')
|
|
Chris PeBenito |
20e306 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0c54fc |
dpkg_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
0c54fc |
')
|
|
Chris PeBenito |
0c54fc |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0834f9 |
ethereal_run_tethereal(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
0834f9 |
')
|
|
Chris PeBenito |
0834f9 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
57a96c |
firstboot_run(sysadm_t,sysadm_r,sysadm_tty_device_t)
|
|
Chris PeBenito |
57a96c |
')
|
|
Chris PeBenito |
57a96c |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
fstools_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
32e53a |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
hostname_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
daa0e0 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
a5f339 |
# allow system administrator to use the ipsec script to look
|
|
Chris PeBenito |
a5f339 |
# at things (e.g., ipsec auto --status)
|
|
Chris PeBenito |
a5f339 |
# probably should create an ipsec_admin role for this kind of thing
|
|
Chris PeBenito |
a5f339 |
ipsec_exec_mgmt(sysadm_t)
|
|
Chris PeBenito |
81343a |
ipsec_stream_connect(sysadm_t)
|
|
Chris PeBenito |
a5f339 |
# for lsof
|
|
Chris PeBenito |
1815ba |
ipsec_getattr_key_sockets(sysadm_t)
|
|
Chris PeBenito |
a5f339 |
')
|
|
Chris PeBenito |
a5f339 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
iptables_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
15a961 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
libs_run_ldconfig(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
daa0e0 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
lvm_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
daa0e0 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
842859 |
logrotate_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
842859 |
')
|
|
Chris PeBenito |
842859 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
ad3b9d |
lpd_run_checkpc(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
ad3b9d |
')
|
|
Chris PeBenito |
ad3b9d |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
842859 |
kudzu_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
842859 |
')
|
|
Chris PeBenito |
842859 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
modutils_run_depmod(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
modutils_run_insmod(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
modutils_run_update_mods(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
96ce00 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
mount_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
ab940a |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
42be7c |
mysql_stream_connect(sysadm_t)
|
|
Chris PeBenito |
42be7c |
')
|
|
Chris PeBenito |
42be7c |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
netutils_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
netutils_run_ping(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
netutils_run_traceroute(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
15a961 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
43989f |
rpc_domtrans_nfsd(sysadm_t)
|
|
Chris PeBenito |
43989f |
')
|
|
Chris PeBenito |
43989f |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
98a8ea |
ntp_stub()
|
|
Chris PeBenito |
98a8ea |
corenet_udp_bind_ntp_port(sysadm_t)
|
|
Chris PeBenito |
98a8ea |
')
|
|
Chris PeBenito |
98a8ea |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
e0d57f |
pcmcia_run_cardctl(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
e0d57f |
')
|
|
Chris PeBenito |
e0d57f |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
e1c414 |
portage_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
e1c414 |
')
|
|
Chris PeBenito |
e1c414 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
eb3cb6 |
portmap_run_helper(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
eb3cb6 |
')
|
|
Chris PeBenito |
eb3cb6 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
052c95 |
quota_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
052c95 |
')
|
|
Chris PeBenito |
052c95 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
44fc06 |
radius_use(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
44fc06 |
')
|
|
Chris PeBenito |
44fc06 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
rpm_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
0c73cd |
')
|
|
Chris PeBenito |
daa0e0 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
84c922 |
samba_run_net(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
79cde3 |
samba_run_winbind_helper(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
84c922 |
')
|
|
Chris PeBenito |
84c922 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
seutil_run_restorecon(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
51a89c |
seutil_run_runinit(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
51a89c |
|
|
Chris PeBenito |
51a89c |
ifdef(`enable_mls',`
|
|
Chris PeBenito |
51a89c |
selinux_set_enforce_mode(secadm_t)
|
|
Chris PeBenito |
51a89c |
selinux_set_boolean(secadm_t)
|
|
Chris PeBenito |
51a89c |
selinux_set_parameters(secadm_t)
|
|
Chris PeBenito |
51a89c |
|
|
Chris PeBenito |
1815ba |
seutil_manage_bin_policy(secadm_t)
|
|
Chris PeBenito |
1815ba |
seutil_run_checkpolicy(secadm_t,secadm_r,admin_terminal)
|
|
Chris PeBenito |
1815ba |
seutil_run_loadpolicy(secadm_t,secadm_r,admin_terminal)
|
|
Chris PeBenito |
02bcb8 |
seutil_run_semanage(secadm_t,secadm_r,admin_terminal)
|
|
Chris PeBenito |
51a89c |
seutil_run_setfiles(secadm_t,secadm_r,admin_terminal)
|
|
Chris PeBenito |
8cf671 |
seutil_run_restorecon(secadm_t,secadm_r,admin_terminal)
|
|
Chris PeBenito |
51a89c |
', `
|
|
Chris PeBenito |
51a89c |
selinux_set_enforce_mode(sysadm_t)
|
|
Chris PeBenito |
51a89c |
selinux_set_boolean(sysadm_t)
|
|
Chris PeBenito |
51a89c |
selinux_set_parameters(sysadm_t)
|
|
Chris PeBenito |
51a89c |
|
|
Chris PeBenito |
1815ba |
seutil_manage_bin_policy(sysadm_t)
|
|
Chris PeBenito |
1815ba |
seutil_run_checkpolicy(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
1815ba |
seutil_run_loadpolicy(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
02bcb8 |
seutil_run_semanage(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
51a89c |
seutil_run_setfiles(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
c98340 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
c98340 |
sysnet_run_ifconfig(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
a1fcff |
sysnet_run_dhcpc(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
daa0e0 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
a5f339 |
unconfined_domtrans(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
a5f339 |
')
|
|
Chris PeBenito |
a5f339 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
44f490 |
usbmodules_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
44f490 |
')
|
|
Chris PeBenito |
44f490 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
2629c6 |
usermanage_run_admin_passwd(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
usermanage_run_groupadd(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
usermanage_run_useradd(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
c98340 |
')
|
|
Chris PeBenito |
a1fcff |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
a1fcff |
vpn_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
a1fcff |
')
|
|
Chris PeBenito |
be4690 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
be4690 |
webalizer_run(sysadm_t,sysadm_r,admin_terminal)
|
|
Chris PeBenito |
be4690 |
')
|
|
Chris PeBenito |
daa0e0 |
')
|