sepolicy-transition(8)

πŸ“¦
version 3.11 Β· 2 versions
, in centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… sepolicy-transition β€” it's giving "where can this domain go" energy

okay bestie, welcome to the sepolicy-transition(8) page, part of the sepolicy fam ✨ this one is lowkey a glow-up for your SELinux detective work and i'm obsessed.


✨ NAME ✨

sepolicy-transition β€” go read the SELinux Policy and make a whole process transition report out of it πŸ¦‹


🌸 SYNOPSIS 🌸

sepolicy transition [-h] -s SOURCE

sepolicy transition [-h] -s SOURCE -t TARGET

πŸŽ€ DESCRIPTION πŸŽ€

okay so here's the vibe: sepolicy transition will show you every single domain that a given SELinux source domain can transition to, and yes, it includes the entrypoint too. no gatekeeping here πŸ’–

and if you also hand it a target domain? it goes full main character and examines the policy for all the transition paths from the source domain to the target domain, then lists those paths out for you. it's giving ✨map of the whole journey✨


πŸ’… OPTIONS πŸ’…

  • -h, --help β€” shows you the help message. the classic. the icon. always there for you 🫢
  • -s, --source β€” you tell it the source SELinux domain type. this one's mandatory, bestie, no skipping πŸŽ€
  • -t, --target β€” you tell it the target SELinux domain type 🌸

πŸ”₯ EXAMPLE πŸ”₯

want to list all the domain transition paths from init_t to httpd_t? say less:

# sepolicy transition -s init_t -t httpd_t

or if you just want every transition available from the samba domain β€” including entry points and the booleans controlling each transition β€” do this:

# sepolicy transition -s smbd_t

periodt. that's it. that's the whole assignment πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

this man page was written by Daniel Walsh <dwalsh@redhat.com> β€” shoutout to the author fr fr πŸ™Œ


🌈 SEE ALSO 🌈


ngl this page is from 20121005 and it's still out here doing its thing β€” sepolicy-transition(8), the icon, the moment, the blueprint πŸ’–πŸŽ€βœ¨ bye bestie, go check your transitions πŸ¦‹
πŸ“¦ where this page comes from