288845a638
Signed-off-by: Dominick Grift <domg472@gmail.com>
38 lines
736 B
Plaintext
38 lines
736 B
Plaintext
## <summary>Policy for rshd, rlogind, and telnetd.</summary>
|
|
|
|
########################################
|
|
## <summary>
|
|
## Domain transition to the remote login domain.
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## Domain allowed to transition.
|
|
## </summary>
|
|
## </param>
|
|
#
|
|
interface(`remotelogin_domtrans',`
|
|
gen_require(`
|
|
type remote_login_t;
|
|
')
|
|
|
|
auth_domtrans_login_program($1, remote_login_t)
|
|
')
|
|
|
|
########################################
|
|
## <summary>
|
|
## allow Domain to signal remote login domain.
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## Domain allowed access.
|
|
## </summary>
|
|
## </param>
|
|
#
|
|
interface(`remotelogin_signal',`
|
|
gen_require(`
|
|
type remote_login_t;
|
|
')
|
|
|
|
allow $1 remote_login_t:process signal;
|
|
')
|