| Server IP : 67.43.7.42 / Your IP : 216.73.216.241 Web Server : Apache System : Linux host.isabellascookies.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : isabella ( 503) PHP Version : 5.5.38 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/selinux/devel/include/apps/ |
Upload File : |
## <summary>Restricted (scp/sftp) only shell</summary>
########################################
## <summary>
## Role access for rssh
## </summary>
## <param name="role">
## <summary>
## Role allowed access
## </summary>
## </param>
## <param name="domain">
## <summary>
## User domain for the role
## </summary>
## </param>
#
interface(`rssh_role',`
gen_require(`
type rssh_t;
')
role $1 types rssh_t;
# allow ps to show irc
ps_process_pattern($2, rssh_t)
allow $2 rssh_t:process signal;
')
########################################
## <summary>
## Transition to all user rssh domains.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`rssh_spec_domtrans',`
gen_require(`
type rssh_t, rssh_exec_t;
')
spec_domtrans_pattern($1, rssh_exec_t, rssh_t)
')
#######################################
## <summary>
## Execute the rssh program
## in the caller domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`rssh_exec',`
gen_require(`
type rssh_exec_t;
')
can_exec($1, rssh_exec_t)
')
########################################
## <summary>
## Read all users rssh read-only content.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`rssh_read_ro_content',`
gen_require(`
type rssh_ro_t;
')
allow $1 rssh_ro_t:dir list_dir_perms;
read_files_pattern($1, rssh_ro_t, rssh_ro_t)
read_lnk_files_pattern($1, rssh_ro_t, rssh_ro_t)
')