PKI_TOMCAT_SCRIPT_SELINUX(8)

πŸ“¦
version 20250627+git412.dbf877ab7 Β· 6 versions
, in opensuse-leap 16.0

πŸ’– pki_tomcat_script_selinux(8) β€” SELinux Policy πŸ’–

okay so bestie, this is the SELinux Policy page for the pki_tomcat_script processes. It’s giving security, it’s giving mandatory access control, and it’s lowkey iconic. Let’s get into it. 🫢


✨ NAME ✨

pki_tomcat_script_selinux β€” Security Enhanced Linux Policy for the pki_tomcat_script processes. That’s the whole name, no cap. πŸ’…


🌸 DESCRIPTION 🌸

Security-Enhanced Linux secures the pki_tomcat_script processes via flexible mandatory access control. Yes ma’am, that’s the vibe.

The pki_tomcat_script processes execute with the pki_tomcat_script_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 pki_tomcat_script_t

πŸ¦‹ PROCESS TYPES πŸ¦‹

SELinux defines process types (domains) for each process running on the system. Slay.

You can see the context of a process using the -Z option to ps.

Policy governs the access confined processes have to files. SELinux pki_tomcat_script policy is very flexible, allowing users to setup their pki_tomcat_script processes in as secure a method as possible. Secure queen behavior.

The following process types are defined for pki_tomcat_script:

  • pki_tomcat_script_t β€” the one, the only, the main character process type. πŸ‘‘
Note: semanage permissive -a pki_tomcat_script_t can be used to make the process type pki_tomcat_script_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated.

πŸ’… BOOLEANS πŸ’…

SELinux policy is customizable based on least access required. The pki_tomcat_script policy is extremely flexible and has several booleans that allow you to manipulate the policy and run pki_tomcat_script with the tightest access possible. Tightest access? Obsessed. πŸŽ€

  • deny_execmem β€” if you want to deny user domains applications to map a memory region as both executable and writable, turn this on. This is dangerous, and the executable should be reported in bugzilla. Disabled by default.
setsebool -P deny_execmem 1
  • mmap_low_allowed β€” if you want to control the ability to mmap a low area of the address space, as configured by /proc/sys/vm/mmap_min_addr, turn this on. Disabled by default.
setsebool -P mmap_low_allowed 1
  • secure_mode_insmod β€” if you want to disable kernel module loading, turn this on. Disabled by default.
setsebool -P secure_mode_insmod 1
  • selinuxuser_execheap β€” if you want to allow unconfined executables to make their heap memory executable, turn this on. Doing this is a really bad idea. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla. Disabled by default.
setsebool -P selinuxuser_execheap 1
  • selinuxuser_execstack β€” if you want to allow unconfined executables to make their stack executable, turn this on. This should never, ever be necessary. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla. Disabled by default.
setsebool -P selinuxuser_execstack 1

πŸŽ€ MANAGED FILES πŸŽ€

The SELinux process type pki_tomcat_script_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. iykyk πŸ¦‹

  • file_type
    • all files on the system

πŸ”₯ 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 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 . Not me being auto-generated and still serving. 😭


🌈 SEE ALSO 🌈


xoxo, your SELinux bestie 🫢 β€” source/version: pki_tomcat_script, date: 26-10-06, and the footer’s manual tag was pki_tomc...t_selinux(8). Periodt. πŸ’…

πŸ“¦ where this page comes from