wicked_ssh_selinux(8)

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

πŸ’… wicked_ssh_selinux(8) β€” the SELinux policy glow-up for wicked_ssh

okay bestie, welcome to the manual page for wicked_ssh_selinux, straight out of the SELinux Policy wicked_ssh collection. yes, we're doing mandatory access control today, and honestly? it's giving main character energy. πŸŽ€


✨ NAME ✨

wicked_ssh_selinux β€” the Security Enhanced Linux Policy for the wicked_ssh processes. that's literally the whole vibe. πŸ¦‹


🌸 DESCRIPTION 🌸

Security-Enhanced Linux secures the wicked_ssh processes via flexible mandatory access control. slay, security, no cap.

The wicked_ssh processes execute with the wicked_ssh_t SELinux type. you can check if you have these processes running by executing the ps command with the -Z qualifier. yes, the -Z is the moment, don't skip it. πŸ’…

for example:

ps -eZ | grep wicked_ssh_t

run that and see what's up. iconic behavior only.


πŸšͺ ENTRYPOINTS πŸšͺ

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

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

/usr/bin/ssh, /usr/libexec/nm-ssh-service

those exact paths, don't @ me.


🫢 PROCESS TYPES 🫢

SELinux defines process types (domains) for each process running on the system. it's a whole taxonomy, very organized, very demure.

You can see the context of a process using the -Z option to ps. again with the -Z! she's everywhere and she's booked. ✨

Policy governs the access confined processes have to files. SELinux wicked_ssh policy is very flexible allowing users to setup their wicked_ssh processes in as secure a method as possible. flexible and secure? we love a multitasker.

The following process types are defined for wicked_ssh:

  • wicked_ssh_t
Note: semanage permissive -a wicked_ssh_t can be used to make the process type wicked_ssh_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it's chill about denying, but it's still gonna write it down in its diary. πŸ’€

πŸŽ€ BOOLEANS πŸŽ€

SELinux policy is customizable based on least access required. wicked_ssh policy is extremely flexible and has several booleans that allow you to manipulate the policy and run wicked_ssh with the tightest access possible. tightest access = the fitted look. πŸ‘‘

If you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default. she's already on, periodt.

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. so you gotta go get her.

setsebool -P nis_enabled 1

πŸ“ MANAGED FILES πŸ“

The SELinux process type wicked_ssh_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 β€” SELinux is not out here doing DAC's job for it, bestie. πŸ’œ

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

ssh_home_t

/var/lib/[^/]+/.ssh(/.*)?
/root/.ssh(/.*)?
/var/lib/one/.ssh(/.*)?
/srv/gitolite/.ssh(/.*)?
/srv/gitolite3/.ssh(/.*)?
/var/lib/pgsql/.ssh(/.*)?
/var/lib/openshift/[^/]+/.ssh(/.*)?
/var/lib/amanda/.ssh(/.*)?
/var/lib/stickshift/[^/]+/.ssh(/.*)?
/var/lib/nocpulse/.ssh(/.*)?
/var/lib/openshift/gear/[^/]+/.ssh(/.*)?
/root/.shosts
/home/[^/]+/.ssh(/.*)?
/home/[^/]+/.ansible/cp/.*
/home/[^/]+/.shosts

look at all those .ssh paths. the SSH girlies are thriving. 🌈


πŸ› οΈ COMMANDS πŸ› οΈ

  • semanage fcontext can also be used to manipulate default file context mappings. yes bestie, mapping queen.
  • 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. a whole GUI for the visual learners out there. ✨

✍️ AUTHOR ✍️

This manual page was auto-generated using sepolicy manpage. not handwritten, still stunning. πŸ€–πŸ’…


πŸ‘€ SEE ALSO πŸ‘€

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

go read those too, iykyk. πŸ¦‹


and that's the page! this cutie came from wicked_ssh, version dated 26-10-06, and you can find her filed under wicked_ssh_selinux(8). mwah, go forth and be secure πŸ’–πŸŒΈπŸŽ€

πŸ“¦ where this page comes from