wicked_ssh_selinux(8)
π 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_tcan be used to make the process typewicked_ssh_tpermissive. 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 fcontextcan also be used to manipulate default file context mappings. yes bestie, mapping queen.semanage permissivecan also be used to manipulate whether or not a process type is permissive.semanage modulecan also be used to enable/disable/install/remove policy modules.semanage booleancan also be used to manipulate the booleans.system-config-selinuxis 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
- opensuse-leap 16.0: selinux-policy-doc 20250627+git412.dbf877ab7-160000.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms