## Accountsservice D-Bus interfaces for querying and manipulating user account information. ######################################## ## ## Execute a domain transition to ## run Account Service daemon. ## ## ## ## Domain allowed to transition. ## ## # interface(`accountsd_domtrans',` gen_require(` type accountsd_t, accountsd_exec_t; ') domtrans_pattern($1, accountsd_exec_t, accountsd_t) corecmd_search_bin($1) files_search_usr($1) ') ######################################## ## ## Search Accounts Service daemon ## lib directories. ## ## ## ## Domain allowed access. ## ## # interface(`accountsd_search_lib',` gen_require(` type accountsd_var_lib_t; ') allow $1 accountsd_var_lib_t:dir search_dir_perms; files_search_var_lib($1) ') ######################################## ## ## Read Accounts Service daemon ## lib files. ## ## ## ## Domain allowed access. ## ## # interface(`accountsd_read_lib_files',` gen_require(` type accountsd_var_lib_t; ') read_files_pattern($1, accountsd_var_lib_t, accountsd_var_lib_t) files_search_var_lib($1) ') ######################################## ## ## Manage Account Service daemon ## lib files. ## ## ## ## Domain allowed access. ## ## # interface(`accountsd_manage_lib_files',` gen_require(` type accountsd_var_lib_t; ') manage_files_pattern($1, accountsd_var_lib_t, accountsd_var_lib_t) files_search_var_lib($1) ') ######################################## ## ## Manage Account Service daemon ## lib content. ## ## ## ## Domain allowed access. ## ## # interface(`accountsd_manage_var_lib',` gen_require(` type accountsd_var_lib_t; ') manage_dirs_pattern($1, accountsd_var_lib_t, accountsd_var_lib_t) manage_files_pattern($1, accountsd_var_lib_t, accountsd_var_lib_t) manage_lnk_files_pattern($1, accountsd_var_lib_t, accountsd_var_lib_t) files_search_var_lib($1) ') ######################################## ## ## Send and receive messages from ## Account Service daemon over dbus. ## ## ## ## Domain allowed access. ## ## # interface(`accountsd_dbus_chat',` gen_require(` type accountsd_t; class dbus send_msg; ') allow $1 accountsd_t:dbus send_msg; allow accountsd_t $1:dbus send_msg; ') ######################################## ## ## Do not audit attempts to read and ## write Account Service daemon pipes. ## ## ## ## Domain allowed access. ## ## # interface(`accountsd_dontaudit_rw_fifo_file',` gen_require(` type accountsd_t; ') dontaudit $1 accountsd_t:fifo_file rw_inherited_fifo_file_perms; ') ######################################## ## ## All of the rules required to administrate ## an Account Service daemon environment. ## ## ## ## Domain allowed access. ## ## ## ## ## Role allowed access. ## ## ## # interface(`accountsd_admin',` gen_require(` type accountsd_t, accountsd_var_lib_t; ') allow $1 accountsd_t:process { ptrace signal_perms }; read_files_pattern($1, accountsd_t, accountsd_t) admin_pattern($1, accountsd_var_lib_t) files_search_var_lib($1) ')