PEGASUS_OPENLMI_ADMIN_SELINUX(8)
π pegasus_openlmi_admin_selinux β like, the whole SELinux policy tea for pegasus_openlmi_admin π
okay bestie, so this is the manual page for pegasus_openlmi_admin_selinux (the full title is pegasus..._selinux(8), which is giving "truncated by the terminal, but make it fashion" β¨). Sit down, grab a strawberry drink π, and let's get into it.
πΈ NAME πΈ
pegasus_openlmi_admin_selinux β the Security Enhanced Linux policy for the pegasus_openlmi_admin processes. That's it, that's the whole vibe. π
β¨ DESCRIPTION β¨
Security-Enhanced Linux keeps the pegasus_openlmi_admin processes in check via flexible mandatory access control β think of it as the ultimate bodyguard that does not take bribes π«Ά.
The pegasus_openlmi_admin processes run with the pegasus_openlmi_admin_t SELinux type. Wanna check if you've got these processes going? Run the ps command with the -Z qualifier, bestie:
ps -eZ | grep pegasus_openlmi_admin_t
Look at you, already doing forensics. Iconic. π
πͺ ENTRYPOINTS πͺ
You can enter the pegasus_openlmi_admin_t SELinux type through the pegasus_openlmi_admin_exec_t file type. That's the doorway. The velvet rope. The little "members only" sign π.
The default entrypoint paths for the pegasus_openlmi_admin_t domain are literally:
/usr/libexec/pegasus/cmpiLMI_Service-cimprovagt,
/usr/libexec/pegasus/cmpiLMI_Journald-cimprovagt
Two paths. Both slay. No cap. π
𧬠PROCESS TYPES π§¬
SELinux defines process types (domains) for each process running on the system, so every process gets its own little identity, like a group-chat nickname but for security π¦.
You can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. And the SELinux pegasus_openlmi_admin policy is very flexible, allowing users to set up their pegasus_openlmi_admin processes in as secure a method as possible. Flexible and secure? We love a multihyphenate. π
The following process types are defined for pegasus_openlmi_admin:
pegasus_openlmi_admin_t
Note:semanage permissive -a pegasus_openlmi_admin_tcan be used to make the process typepegasus_openlmi_admin_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. So it's like "you're on thin ice but I'm still writing it down in my notes" π β the receipts still exist.
ποΈ BOOLEANS ποΈ
SELinux policy is customizable based on least access required. The pegasus_openlmi_admin policy is extremely flexible and has several booleans that let you manipulate the policy and run pegasus_openlmi_admin with the tightest access possible. Tightest access = main character energy, honestly π.
If you want to dontaudit all daemons scheduling requests (setsched, sys_nice), you must turn on the daemons_dontaudit_scheduling boolean. It is enabled by default.
setsebool -P daemons_dontaudit_scheduling 1
If you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. It is enabled by default.
setsebool -P fips_mode 1
Two booleans, both default-on. Not me checking getsebool -a just to feel something π.
π MANAGED FILES π
The SELinux process type pegasus_openlmi_admin_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. Note: the process's UID still needs to have DAC permissions β SELinux is not out here overriding your normal permissions, bestie, it's just an extra layer π§.
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
/run/crm(/.*)?
/run/cman_.*
/run/rsctmp(/.*)?
/run/aisexec.*
/run/heartbeat(/.*)?
/run/pcsd-ruby.socket
/run/corosync-qnetd(/.*)?
/run/corosync-qdevice(/.*)?
/run/pcsd.socket
/run/corosync.pid
/run/cpglockd.pid
/run/rgmanager.pid
/run/cluster/rgmanager.sk
pegasus_data_t
/var/lib/Pegasus(/.*)?
/etc/Pegasus/pegasus_current.conf
/etc/Pegasus/cimserver_current.conf
root_t
/sysroot/.aleph-version.json
/sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
/
/initrd
/var/lib/ntp
systemd_passwd_var_run_t
/run/systemd/ask-password(/.*)?
/run/systemd/ask-password-block(/.*)?
systemd_unit_file_type
(yes, this one is listed with no paths under it β it's giving mysterious, it's giving "no thoughts head empty," and we respect it π)
π·οΈ FILE CONTEXTS π·οΈ
SELinux requires files to have an extended attribute to define the file type β like a name tag but for files, and honestly the name tag is mandatory at this party π.
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 pegasus_openlmi_admin policy is very flexible, allowing users to set up their pegasus_openlmi_admin processes in as secure a method as possible. Same energy, different noun. Obsessed. β¨
ποΈ STANDARD FILE CONTEXT ποΈ
SELinux defines the file context types for pegasus_openlmi_admin. 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 pegasus_openlmi_admin_exec_t '/srv/pegasus_openlmi_admin/content(/.*)?'
restorecon -R -v /srv/mypegasus_openlmi_admin_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. Regex girlies, this one's for you π«Ά.
The following file types are defined for pegasus_openlmi_admin:
pegasus_openlmi_admin_exec_t
- Set files with the
pegasus_openlmi_admin_exec_ttype if you want to transition an executable to thepegasus_openlmi_admin_tdomain.
Paths:
/usr/libexec/pegasus/cmpiLMI_Service-cimprovagt,
/usr/libexec/pegasus/cmpiLMI_Journald-cimprovagt
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. So like βchconis the cute temporary tattoo,semanage fcontext+restoreconis the real piercing. Choose wisely π .
π οΈ COMMANDS π οΈ
semanage fcontextcan also be used to manipulate default file context mappings.semanage permissivecan also be used to manipulate whether or not a process type is permissive.semanage modulecan also be used to enable/disable/install/remove policy modules.semanage booleancan also be used to manipulate the booleans.system-config-selinuxis a GUI tool available to customize SELinux policy settings. (A whole GUI, for the girlies who prefer clicking π)
βοΈ AUTHOR βοΈ
This manual page was auto-generated using sepolicy manpage. Not a human author, just a script doing its little job and honestly? Slay, script. π€β¨
π SEE ALSO π
selinux(8), pegasus_openlmi_admin(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
aaaand that's the whole page, bestie π«Ά this one's from pegasus_openlmi_admin, dated 26-10-06 (in the pegasus..._selinux(8) era of the manual, lmao). go forth, label your files correctly, and remember: flexible mandatory access control is not a phase, it's a lifestyle πβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: selinux-policy-doc 20250627+git412.dbf877ab7-160000.1.1 Β· 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