ssh: fix for polyinstantiation
If using polyinstantiation, sshd needs to be able to create a new tmp directory for remote users. Signed-off-by: Kenton Groombridge <me@concord.sh>
This commit is contained in:
parent
19d787597f
commit
397d4a379f
@ -289,6 +289,11 @@ tunable_policy(`ssh_sysadm_login',`
|
||||
userdom_signal_unpriv_users(sshd_t)
|
||||
')
|
||||
|
||||
tunable_policy(`allow_polyinstantiation',`
|
||||
allow sshd_t self:capability dac_override;
|
||||
files_relabel_generic_tmp_dirs(sshd_t)
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
daemontools_service_domain(sshd_t, sshd_exec_t)
|
||||
')
|
||||
|
Loading…
Reference in New Issue
Block a user