iceauth_selinux(8)

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

✨ iceauth_selinux β€” the SELinux glow-up for iceauth πŸ’…

okay bestie, so this is iceauth_selinux(8), the SELinux policy man page for iceauth, from the SELinux Policy iceauth collection. buckle up, we're getting into mandatory access control and it's honestly iconic.


πŸ’– NAME πŸ’–

iceauth_selinux β€” the Security Enhanced Linux Policy for the iceauth processes, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

Security-Enhanced Linux secures the iceauth processes via flexible mandatory access control. literally that's the whole vibe β€” SELinux is out here protecting iceauth with flexible MAC, periodt.

The iceauth processes execute with the iceauth_t SELinux type. wanna check if you've got these processes running? just run the ps command with the -Z qualifier, easy.

for example:

ps -eZ | grep iceauth_t

go off, grep. πŸ”₯

🌸 ENTRYPOINTS 🌸

The iceauth_t SELinux type can be entered via the iceauth_exec_t file type. that's the doorway, bestie.

the default entrypoint paths for the iceauth_t domain are literally these:

/usr/bin/iceauth, /usr/X11R6/bin/iceauth

πŸŽ€ PROCESS TYPES πŸŽ€

SELinux defines process types (domains) for each process running on the system. yes, every single one gets its own lil domain ✨

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 iceauth policy is very flexible, allowing users to setup their iceauth processes in as secure a method as possible. secure slay.

the following process types are defined for iceauth:

  • iceauth_t
Note: semanage permissive -a iceauth_t can be used to make the process type iceauth_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it won't block anything but it WILL still snitch in the logs πŸ™ˆ

🧚 BOOLEANS 🧚

SELinux policy is customizable based on least access required. the iceauth policy is extremely flexible and has several booleans that allow you to manipulate the policy and run iceauth with the tightest access possible. tightest access = main character energy.

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

setsebool -P fips_mode 1

⭐ MANAGED FILES ⭐

the SELinux process type iceauth_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, so don't get it twisted.

  • cifs_t
  • ecryptfs_t
/home/[^/]+/.Private(/.*)?
/home/[^/]+/.ecryptfs(/.*)?
  • fusefs_t
/run/user/[0-9]+/gvfs
  • iceauth_home_t
/root/.DCOP.*
/root/.ICEauthority.*
/home/[^/]+/.DCOP.*
/home/[^/]+/.ICEauthority.*
  • nfs_t

🌈 FILE CONTEXTS 🌈

SELinux requires files to have an extended attribute to define the file type. fancy, right?

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 iceauth policy is very flexible, allowing users to setup their iceauth processes in as secure a method as possible. (yes we're saying it again, it's that flexible πŸ’β€β™€οΈ)

πŸ’œ STANDARD FILE CONTEXT πŸ’œ

SELinux defines the file context types for the iceauth. 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. two-step process, bestie:

semanage fcontext -a -t iceauth_exec_t '/srv/iceauth/content(/.*)?'
restorecon -R -v /srv/myiceauth_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies stay winning πŸŽ€

the following file types are defined for iceauth:

  • iceauth_exec_t β€” set files with the iceauth_exec_t type, if you want to transition an executable to the iceauth_t domain.

paths:

/usr/bin/iceauth, /usr/X11R6/bin/iceauth
  • iceauth_home_t β€” set files with the iceauth_home_t type, if you want to store iceauth files in the users home directory.

paths:

/root/.DCOP.*, /root/.ICEauthority.*, /home/[^/]+/.DCOP.*, /home/[^/]+/.ICEauthority.*
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. temp fix vs. permanent fix β€” know the difference 🫢

πŸ‘‘ 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. GUI girlies, this one's for you πŸ’…

πŸ’€ AUTHOR πŸ’€

this manual page was auto-generated using sepolicy manpage. not me being auto-generated 😭

πŸ“ SEE ALSO πŸ“

selinux(8), iceauth(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8) β€” go read them, iykyk πŸ“š


and that's the whole page, bestie! this was iceauth, dated 26-10-06, from the iceauth_selinux(8) manual β€” class dismissed, go secure your processes πŸ’–βœ¨

πŸ“¦ where this page comes from