CONDOR_STARTD_SSH_SELINUX(8)

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

πŸ’… condor_startd_ssh_selinux(8) β€” the SELinux glow-up for condor_startd_ssh

okay bestie, welcome to the manual page for condor_startd_ssh_selinux, which is the SELinux policy situation for the condor_startd_ssh processes. it's from the SELinux Policy corner of the man-page universe and honestly? she's iconic. let's get into it πŸŽ€


✨ NAME ✨

condor_startd_ssh_selinux β€” Security Enhanced Linux Policy for the condor_startd_ssh processes. that's it, that's the name, no notes πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Security-Enhanced Linux secures the condor_startd_ssh processes via flexible mandatory access control. yes, mandatory β€” SELinux is the friend who does not accept "i'll do it later" as an answer, and honestly good for her.

The condor_startd_ssh processes execute with the condor_startd_ssh_t SELinux type. you can check if you have these processes running by executing the ps command with the -Z qualifier.

for example:

ps -eZ | grep condor_startd_ssh_t

run it, see what's up, vibe check the output, slay πŸ”₯


πŸšͺ ENTRYPOINTS πŸšͺ

The condor_startd_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 condor_startd_ssh_t domain are the following, exact as they come:

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

πŸ‘‘ PROCESS TYPES πŸ‘‘

SELinux defines process types (domains) for each process running on the system. very "everyone gets their own little label" of it all, and we love that for them.

you can see the context of a process using the -Z option to ps. yes, -Z again. she's the main character of this section.

policy governs the access confined processes have to files. SELinux condor_startd_ssh policy is very flexible, allowing users to setup their condor_startd_ssh processes in as secure a method as possible. flexible and secure? highkey a vibe 🌸

the following process types are defined for condor_startd_ssh:

condor_startd_ssh_t

Note: semanage permissive -a condor_startd_ssh_t can be used to make the process type condor_startd_ssh_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, she's chill about it but she's still watching πŸ‘€

πŸŽ€ BOOLEANS πŸŽ€

SELinux policy is customizable based on least access required. condor_startd_ssh policy is extremely flexible and has several booleans that allow you to manipulate the policy and run condor_startd_ssh with the tightest access possible. tightest access possible = the most locked-down, no extras, boundaries-up energy 🫢

  • fips_mode β€” if you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default.
setsebool -P fips_mode 1
  • nis_enabled β€” if you want to allow system to run with NIS, you must turn on the nis_enabled boolean. Disabled by default.
setsebool -P nis_enabled 1

πŸ“ MANAGED FILES πŸ“

The SELinux process type condor_startd_ssh_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. note β€” and this is important, bestie β€” the processes UID still need to have DAC permissions. SELinux is not out here overriding DAC, she's just adding her own layer of gorgeousness on top πŸ’œ

condor_var_lib_t

/var/lib/condor(/.*)?
/var/lib/condor/spool(/.*)?
/var/lib/condor/execute(/.*)?

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

like, look at that list. .ssh directories everywhere, a whole little extended family of them πŸ˜­πŸ’–


πŸ› οΈ 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. a whole GUI, for the girlies who prefer clicking to typing ✨

πŸ’€ AUTHOR πŸ’€

This manual page was auto-generated using sepolicy manpage . β€” yes, auto-generated, she didn't even have to lift a finger, and yet she ate 🫢


πŸ‘€ SEE ALSO πŸ‘€

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

go read those too, iykyk πŸ“šπŸ’…


and that's the whole page, bestie β€” this little masterpiece comes to you as condor_startd_ssh, dated 26-10-06, under the title condor_s...h_selinux(8). mwah, go forth and be secure πŸ’–πŸŽ€πŸ¦‹πŸŒ·

πŸ“¦ where this page comes from