hirte_selinux(8)
π NAME π
hirte_selinux(8) is the Security Enhanced Linux Policy page for the hirte processes β yes bestie, this is the hirte_selinux manual, and itβs all about how SELinux treats hirte. π
β¨ DESCRIPTION β¨
Security-Enhanced Linux secures the hirte processes via flexible mandatory access control. iconic π¦.
The hirte processes execute with the hirte_t SELinux type. You can check if you have these processes running by executing the ps command with the -Z qualifier.
For example:
ps -eZ | grep hirte_t
πͺ ENTRYPOINTS πͺ
The hirte_t SELinux type can be entered via the hirte_exec_t file type.
The default entrypoint paths for the hirte_t domain are the following:
/usr/bin/hirte
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system.
You can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. The SELinux hirte policy is very flexible and allows users to set up their hirte processes in as secure a method as possible. slay π
.
The following process types are defined for hirte:
hirte_thirte_agent_t
Note:semanage permissive -a hirte_tcan be used to make the process typehirte_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. iykyk π.
ποΈ BOOLEANS ποΈ
SELinux policy is customizable based on least access required. The hirte policy is extremely flexible and has several booleans that allow you to manipulate the policy and run hirte with the tightest access possible. main character energy β¨.
daemons_dontaudit_schedulingβ if you want to dontaudit all daemons scheduling requests (setsched,sys_nice), you must turn on thedaemons_dontaudit_schedulingboolean. Enabled by default.
setsebool -P daemons_dontaudit_scheduling 1
fips_modeβ if you want to allow all domains to execute infips_mode, you must turn on thefips_modeboolean. Enabled by default.
setsebool -P fips_mode 1
π PORT TYPES π
SELinux defines port types to represent TCP and UDP ports.
You can see the types associated with a port by using the following command:
semanage port -l
Policy governs the access confined processes have to these ports. The SELinux hirte policy is very flexible and allows users to set up their hirte processes in as secure a method as possible.
The following port types are defined for hirte:
hirte_port_t
Default Defined Ports:
udp 842
π MANAGED FILES π
The SELinux process type hirte_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. Note the processes UID still need to have DAC permissions. vibe check: UID still matters, bestie.
ποΈ cluster_conf_t
/etc/cluster(/.*)?
ποΈ cluster_var_lib_t
/var/lib/pcsd(/.*)?
/var/lib/cluster(/.*)?
/var/lib/openais(/.*)?
/var/lib/pengine(/.*)?
/var/lib/corosync(/.*)?
/usr/lib/heartbeat(/.*)?
/var/lib/heartbeat(/.*)?
/var/lib/pacemaker(/.*)?
ποΈ cluster_var_run_t
/var/run/crm(/.*)?
/var/run/cman_.*
/var/run/rsctmp(/.*)?
/var/run/aisexec.*
/var/run/heartbeat(/.*)?
/var/run/pcsd-ruby.socket
/var/run/corosync-qnetd(/.*)?
/var/run/corosync-qdevice(/.*)?
/var/run/corosync.pid
/var/run/cpglockd.pid
/var/run/rgmanager.pid
/var/run/cluster/rgmanager.sk
ποΈ initrc_tmp_t
This one has no default paths listed in the page. Thatβs the whole tea. π
ποΈ mnt_t
/mnt(/[^/]*)?
/mnt(/[^/]*)?
/rhev(/[^/]*)?
/rhev/[^/]*/.*
/media(/[^/]*)?
/media(/[^/]*)?
/media/.hal-.*
/var/run/media(/[^/]*)?
/afs
/net
/misc
/rhev
ποΈ root_t
/sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
/
/initrd
ποΈ tmp_t
/sandbox(/.*)?
/tmp
/usr/tmp
/var/tmp
/var/tmp
/tmp-inst
/var/tmp-inst
/var/tmp/tmp-inst
/var/tmp/vi.recover
π·οΈ FILE CONTEXTS π·οΈ
SELinux requires files to have an extended attribute to define the file type.
You can see the context of a file using the -Z option to ls.
Policy governs the access confined processes have to these files. The SELinux hirte policy is very flexible and allows users to set up their hirte processes in as secure a method as possible.
πΈ STANDARD FILE CONTEXT πΈ
SELinux defines the file context types for the hirte, if you wanted to store files with these types in different paths, you need to execute the semanage command to specify alternate labeling and then use restorecon to put the labels on disk.
semanage fcontext -a -t hirte_exec_t '/srv/hirte/content(/.*)?'
restorecon -R -v /srv/myhirte_content
Note: SELinux often uses regular expressions to specify labels that match multiple files.
The following file types are defined for hirte:
hirte_agent_exec_tβ set files with thehirte_agent_exec_ttype if you want to transition an executable to thehirte_agent_tdomain. periodt π .hirte_exec_tβ set files with thehirte_exec_ttype if you want to transition an executable to thehirte_tdomain.
Note: File context can be temporarily modified with thechconcommand. If you want to permanently change the file context you need to use thesemanage fcontextcommand. This will modify the SELinux labeling database. You will need to userestoreconto apply the labels. no cap π₯.
π» COMMANDS π»
semanage fcontextβ can also be used to manipulate default file context mappings.semanage permissiveβ can also be used to manipulate whether or not a process type is permissive.semanage moduleβ can also be used to enable/disable/install/remove policy modules.semanage portβ can also be used to manipulate the port definitions.semanage booleanβ can also be used to manipulate the booleans.system-config-selinuxβ is a GUI tool available to customize SELinux policy settings.
βοΈ AUTHOR βοΈ
This manual page was auto-generated using sepolicy manpage . literally auto-generated, bestie β¨.
π SEE ALSO π
selinux(8), hirte(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8), hirte_agent_selinux(8), hirte_agent_selinux(8) β and yes, that last one is listed twice, no cap. obsessed π.
π Thatβs the whole page, bestie! Source/version hirte, date 23-04-04, manual name hirte_selinux(8). Go check those contexts! π
π¦ where this page comes from
- epel 9: hirte-selinux 0.4.0-1.el9 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms