move ssh tunables into global_tunables
This commit is contained in:
parent
95db422832
commit
45239964e5
|
@ -40,6 +40,9 @@ gen_tunable(fcron_crond,false)
|
||||||
## </tunable>
|
## </tunable>
|
||||||
gen_tunable(read_default_t,false)
|
gen_tunable(read_default_t,false)
|
||||||
|
|
||||||
|
## Allow ssh to run from inetd instead of as a daemon.
|
||||||
|
gen_tunable(run_ssh_inetd,false)
|
||||||
|
|
||||||
## <tunable name="secure_mode" dftval="false">
|
## <tunable name="secure_mode" dftval="false">
|
||||||
## Enabling secure mode disallows programs, such as
|
## Enabling secure mode disallows programs, such as
|
||||||
## newrole, from transitioning to administrative
|
## newrole, from transitioning to administrative
|
||||||
|
@ -47,6 +50,9 @@ gen_tunable(read_default_t,false)
|
||||||
## </tunable>
|
## </tunable>
|
||||||
gen_bool(secure_mode,false)
|
gen_bool(secure_mode,false)
|
||||||
|
|
||||||
|
## Allow ssh logins as sysadm_r:sysadm_t
|
||||||
|
gen_tunable(ssh_sysadm_login,false)
|
||||||
|
|
||||||
## <tunable name="staff_read_sysadm_file" dftval="false">
|
## <tunable name="staff_read_sysadm_file" dftval="false">
|
||||||
## Allow staff_r users to search the sysadm home
|
## Allow staff_r users to search the sysadm home
|
||||||
## dir and read files (such as ~/.bashrc)
|
## dir and read files (such as ~/.bashrc)
|
||||||
|
|
|
@ -6,11 +6,7 @@ policy_module(ssh,1.0)
|
||||||
# Declarations
|
# Declarations
|
||||||
#
|
#
|
||||||
|
|
||||||
# Allow ssh logins as sysadm_r:sysadm_t
|
attribute ssh_server;
|
||||||
bool ssh_sysadm_login false;
|
|
||||||
|
|
||||||
# Allow ssh to run from inetd instead of as a daemon.
|
|
||||||
bool run_ssh_inetd false;
|
|
||||||
|
|
||||||
# Type for the ssh-agent executable.
|
# Type for the ssh-agent executable.
|
||||||
type ssh_agent_exec_t;
|
type ssh_agent_exec_t;
|
||||||
|
|
Loading…
Reference in New Issue