NETWORKMANAGER_DISPATCHER_CONSOLE_SELINUX(8)

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

πŸ’… NetworkManager_dispatcher_console_selinux(8) β€” the SELinux Policy page for NetworkManager_dispatcher_console, bestie edition

okay so this is a section 8 manual page, filed under SELinux Policy, and it's all about the policy that wraps the NetworkManager_dispatcher_console processes. yes it's a long name. yes it's worth it. let's go πŸŽ€


✨ NAME ✨

NetworkManager_dispatcher_console_selinux β€” the Security Enhanced Linux Policy for the NetworkManager_dispatcher_console processes. that's the whole vibe. short name, big job. 🫢


🌸 DESCRIPTION 🌸

Security-Enhanced Linux secures the NetworkManager_dispatcher_console processes via flexible mandatory access control. that's the whole point, no cap β€” MAC does the heavy lifting so the processes stay in their lane and nothing sketchy gets to wander off.

The NetworkManager_dispatcher_console processes execute with the NetworkManager_dispatcher_console_t SELinux type. wanna check if you actually have these processes running? run ps with the -Z qualifier. easy.

For example:

ps -eZ | grep NetworkManager_dispatcher_console_t

that's it. that's the vibe check. ⭐


πŸ¦‹ ENTRYPOINTS πŸ¦‹

The NetworkManager_dispatcher_console_t SELinux type can be entered via the NetworkManager_dispatcher_console_script_t file type. so that's the door, and the domain is the room you walk into. iykyk.

The default entrypoint paths for the NetworkManager_dispatcher_console_t domain are the following:

/etc/NetworkManager/dispatcher.d/90-console-login-helper-messages-gensnippet_if

one path, and it is long. she's committed. πŸ’œ


πŸ‘‘ PROCESS TYPES πŸ‘‘

SELinux defines process types (domains) for each process running on the system. every process gets a little domain. it's giving assigned seating at a very strict party.

You can see the context of a process using the -Z option to ps. literally just add -Z, that's the whole trick.

Policy governs the access confined processes have to files. the NetworkManager_dispatcher_console policy is very flexible, allowing users to set up their NetworkManager_dispatcher_console processes in as secure a method as possible. obsessed. flexible and secure.

The following process types are defined for NetworkManager_dispatcher_console:

  • NetworkManager_dispatcher_console_t
Note: semanage permissive -a NetworkManager_dispatcher_console_t can be used to make the process type NetworkManager_dispatcher_console_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so it stops blocking but keeps receipts. πŸ’€

πŸ”₯ BOOLEANS πŸ”₯

SELinux policy is customizable based on least access required. the NetworkManager_dispatcher_console policy is extremely flexible and has several booleans that let you manipulate the policy and run NetworkManager_dispatcher_console with the tightest access possible. tightest access = main character energy for security. πŸ‘‘

If you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default, bestie β€” so it's already on unless you went and changed it.

setsebool -P fips_mode 1

πŸŽ€ MANAGED FILES πŸŽ€

The SELinux process type NetworkManager_dispatcher_console_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. note that the processes UID still needs to have DAC permissions β€” SELinux is not out here overriding DAC, she's just adding a second layer. πŸ™ˆ

NetworkManager_dispatcher_console_var_run_t

/run/console-login-helper-messages(/.*)?

🌈 FILE CONTEXTS 🌈

SELinux requires files to have an extended attribute to define the file type. yes, files get labels too. everyone's got a little name tag at this party.

You can see the context of a file using the -Z option to ls. same -Z energy as before, different command. love the consistency.

Policy governs the access confined processes have to these files. the SELinux NetworkManager_dispatcher_console policy is very flexible, allowing users to set up their NetworkManager_dispatcher_console processes in as secure a method as possible. (yes this paragraph said it twice in the original, and honestly? it slaps twice. πŸ’…)

⭐ STANDARD FILE CONTEXT ⭐

SELinux defines the file context types for NetworkManager_dispatcher_console. if you wanted to store files with these types in a 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 NetworkManager_dispatcher_console_var_run_t '/srv/NetworkManager_dispatcher_console/content(/.*)?'
restorecon -R -v /srv/myNetworkManager_dispatcher_console_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. those (/.*)? bits are regex, not decoration. 🧚

The following file types are defined for NetworkManager_dispatcher_console:

NetworkManager_dispatcher_console_script_t

  • Set files with the NetworkManager_dispatcher_console_script_t type, if you want to treat the files as NetworkManager dispatcher console script data.

NetworkManager_dispatcher_console_var_run_t

  • Set files with the NetworkManager_dispatcher_console_var_run_t type, if you want to store the NetworkManager dispatcher console files under the /run or /var/run directory.
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. temporary vs permanent β€” know the difference, bestie. 😭

πŸ’– 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. yes, a GUI. for when you're feeling clicky. πŸ–±οΈ

πŸ“ AUTHOR πŸ“

This manual page was auto-generated using sepolicy manpage. no human typed this originally β€” a script did, and honestly she ate. ✨


πŸ’œ SEE ALSO πŸ’œ

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

go read the friends, they're all iconic in their own way. πŸ”₯


and that's the page, bestie πŸŽ€ β€” this one shipped as NetworkManager_dispatcher_console, dated 26-10-06, living in the Netw...linux(8) corner of the SELinux Policy manual set. mwah, stan, periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from