Files
deploy_home/ansible/roles/git/files/gitea-ssh-podman.te
2025-12-19 10:39:56 -05:00

14 lines
375 B
Plaintext

module gitea-ssh-podman 1.0;
require {
type sshd_t;
type container_runtime_exec_t;
type user_home_t;
class file { execute execute_no_trans open read };
class dir { search };
}
# Allow sshd to execute podman for AuthorizedKeysCommand
allow sshd_t container_runtime_exec_t:file { execute execute_no_trans open read };
allow sshd_t user_home_t:dir search;