selinux-policy/strict/file_contexts/program/ssh.fc
2005-09-16 13:36:26 +00:00

22 lines
876 B
Plaintext

# ssh
/usr/bin/ssh -- system_u:object_r:ssh_exec_t
/usr/libexec/openssh/ssh-keysign -- system_u:object_r:ssh_keysign_exec_t
/usr/bin/ssh-keygen -- system_u:object_r:ssh_keygen_exec_t
# sshd
/etc/ssh/primes -- system_u:object_r:sshd_key_t
/etc/ssh/ssh_host_key -- system_u:object_r:sshd_key_t
/etc/ssh/ssh_host_dsa_key -- system_u:object_r:sshd_key_t
/etc/ssh/ssh_host_rsa_key -- system_u:object_r:sshd_key_t
/usr/sbin/sshd -- system_u:object_r:sshd_exec_t
/var/run/sshd\.init\.pid -- system_u:object_r:sshd_var_run_t
# subsystems
/usr/lib(64)?/misc/sftp-server -- system_u:object_r:bin_t
/usr/libexec/openssh/sftp-server -- system_u:object_r:bin_t
/usr/lib(64)?/sftp-server -- system_u:object_r:bin_t
ifdef(`distro_suse', `
/usr/lib(64)?/ssh/.* -- system_u:object_r:bin_t
')
ifdef(`targeted_policy', `', `
HOME_DIR/\.ssh(/.*)? system_u:object_r:ROLE_home_ssh_t
')