sssd_se...selinux(8)

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

✨ sssd_se...selinux(8) ✨

okay so bestie, this is the sssd_se...selinux(8) page from the SELinux Policy sssd_selinux_manager fam, and it's literally all about keeping the sssd_selinux_manager processes safe and sound. let's get into it πŸ’…


🌸 NAME 🌸

sssd_selinux_manager_selinux β€” the whole Security Enhanced Linux Policy situation for the sssd_selinux_manager processes, no cap 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so Security-Enhanced Linux secures the sssd_selinux_manager processes through flexible mandatory access control β€” yes it's giving main character security energy ✨

the sssd_selinux_manager processes execute with the sssd_selinux_manager_t SELinux type, and if you wanna check whether you've got these processes running, you just run the ps command with the -Z qualifier. like this:

ps -eZ | grep sssd_selinux_manager_t

that's it, that's the vibe check πŸ‘‘


πŸŽ€ ENTRYPOINTS πŸŽ€

the sssd_selinux_manager_t SELinux type can be entered via the sssd_selinux_manager_exec_t file type β€” that's the doorway bestie πŸšͺ✨

and the default entrypoint paths for the sssd_selinux_manager_t domain are literally just:

/usr/libexec/sssd/selinux_child

πŸ’œ PROCESS TYPES πŸ’œ

SELinux defines process types (aka domains) for each process running on the system, periodt.

you can see the context of a process using the -Z option to ps πŸ‘€

policy governs the access that confined processes have to files. the SELinux sssd_selinux_manager policy is very flexible, allowing users to set up their sssd_selinux_manager processes in as secure a method as possible. lowkey iconic πŸ”₯

the following process types are defined for sssd_selinux_manager:

  • sssd_selinux_manager_t
Note: semanage permissive -a sssd_selinux_manager_t can be used to make the process type sssd_selinux_manager_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it's permissive but it's still snitching, iykyk πŸ’€

🌈 BOOLEANS 🌈

SELinux policy is customizable based on least access required β€” very "you get exactly what you need and nothing more" of it tbh. the sssd_selinux_manager policy is extremely flexible and has several booleans that allow you to manipulate the policy and run sssd_selinux_manager with the tightest access possible 🫢

if you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. enabled by default ⭐

setsebool -P fips_mode 1

if you want to allow system to run with NIS, you must turn on the nis_enabled boolean. disabled by default πŸ™ˆ

setsebool -P nis_enabled 1

πŸ“ MANAGED FILES πŸ“

the SELinux process type sssd_selinux_manager_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. and note: the processes UID still need to have DAC permissions, so don't get it twisted bestie πŸ’…

default_context_t

/etc/selinux/([^/]*/)?contexts(/.*)?
/root/.default_contexts

krb5_host_rcache_t

/var/tmp/krb5_0.rcache2
/var/cache/krb5rcache(/.*)?
/var/tmp/nfs_0
/var/tmp/DNS_25
/var/tmp/host_0
/var/tmp/imap_0
/var/tmp/HTTP_23
/var/tmp/HTTP_48
/var/tmp/ldap_55
/var/tmp/ldap_487
/var/tmp/ldapmap1_0

security_t

/selinux

selinux_login_config_t

/etc/selinux/([^/]*/)?logins(/.*)?

semanage_read_lock_t

/etc/selinux/([^/]*/)?modules/semanage.read.LOCK
/var/lib/selinux/[^/]+/semanage.read.LOCK

semanage_store_t

/etc/selinux/([^/]*/)?policy(/.*)?
/etc/selinux/([^/]*/)?modules/(active|tmp|previous)(/.*)?
/etc/selinux/(minimum|mls|targeted)/(active|tmp|previous)(/.*)?
/var/lib/selinux(/.*)?
/etc/share/selinux/mls(/.*)?
/etc/share/selinux/targeted(/.*)?

semanage_tmp_t

(no default paths listed for this one β€” it's mysterious like that 🧚)

semanage_trans_lock_t

/etc/selinux/([^/]*/)?modules/semanage.trans.LOCK
/var/lib/selinux/[^/]+/semanage.trans.LOCK

🧚 FILE CONTEXTS 🧚

SELinux requires files to have an extended attribute to define the file type, that's just how it is πŸ’β€β™€οΈ

you can see the context of a file using the -Z option to ls πŸ‘€

policy governs the access that confined processes have to these files. the SELinux sssd_selinux_manager policy is very flexible, allowing users to set up their sssd_selinux_manager processes in as secure a method as possible πŸ”’

⭐ STANDARD FILE CONTEXT ⭐

SELinux defines the file context types for the sssd_selinux_manager, so 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. like so:

semanage fcontext -a -t sssd_selinux_manager_exec_t '/srv/sssd_selinux_manager/content(/.*)?'
restorecon -R -v /srv/mysssd_selinux_manager_content
Note: SELinux often uses regular expressions to specify labels that match multiple files πŸ‘‘

the following file types are defined for sssd_selinux_manager:

  • sssd_selinux_manager_exec_t β€” set files with the sssd_selinux_manager_exec_t type if you want to transition an executable to the sssd_selinux_manager_t domain. that's the glow-up pipeline bestie ✨
Note: file context can be temporarily modified with the chcon command. if you want to permanently change the file context you need to use the semanage fcontext command. this will modify the SELinux labeling database. you will need to use restorecon to apply the labels. so like, chcon is the quick fix and semanage fcontext is the commitment πŸ’

πŸ’– 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 . β€” yeah, the robots wrote this one πŸ€–πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

selinux(8), sssd_selinux_manager(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)


and that's the whole page bestie!! this came from the sssd_selinux_manager fam, dated 26-10-06, and you found it here at sssd_se...selinux(8). go forth and label responsibly πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from