staff_ss...t_selinux(8)

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

πŸ’… staff_ss...t_selinux(8) β€” the glow-up guide

okay bestie, so this is the man page for staff_ssh_agent_selinux (yes the header abbreviates it all cute as staff_ss...t_selinux(8), we love a truncated queen) ✨ and it's literally all about the SELinux policy for the staff_ssh_agent processes. let's get into it 🫢


🌸 NAME

staff_ssh_agent_selinux β€” Security Enhanced Linux Policy for the staff_ssh_agent processes. that's it, that's the name, and it ate πŸ’…


✨ DESCRIPTION

Security-Enhanced Linux secures the staff_ssh_agent processes via flexible mandatory access control. no cap, that's the whole vibe β€” flexible but mandatory, like your group chat rules.

The staff_ssh_agent processes execute with the staff_ssh_agent_t SELinux type. wanna check if you've got these processes running? just run the ps command with the -Z qualifier. easy peasy πŸŽ€

For example:

ps -eZ | grep staff_ssh_agent_t

πŸšͺ ENTRYPOINTS

The staff_ssh_agent_t SELinux type can be entered via the ssh_agent_exec_t file type. that's the door, that's how you get in πŸ”‘

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

/usr/libexec/(open)?ssh/ssh-pkcs11-helper, /usr/bin/ssh-agent

πŸ‘‘ PROCESS TYPES

SELinux defines process types (domains) for each process running on the system. yes, every single one gets a lil label, main character energy for everyone tbh.

You can see the context of a process using the -Z option to ps.

Policy governs the access confined processes have to files. SELinux staff_ssh_agent policy is very flexible allowing users to setup their staff_ssh_agent processes in as secure a method as possible. highkey iconic 🌈

The following process types are defined for staff_ssh_agent:

  • staff_ssh_agent_t
Note: semanage permissive -a staff_ssh_agent_t can be used to make the process type staff_ssh_agent_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 you, but it will still be watching πŸ‘€

πŸ”˜ BOOLEANS

SELinux policy is customizable based on least access required. staff_ssh_agent policy is extremely flexible and has several booleans that allow you to manipulate the policy and run staff_ssh_agent with the tightest access possible. tightest access = the itty bitty security budget, periodt πŸ’Έ

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

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 staff_ssh_agent_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. heads up though β€” the processes UID still need to have DAC permissions, SELinux isn't out here doing everything for you πŸ™ˆ

cache_home_t

/root/.cache(/.*)?
/home/[^/]+/.nv(/.*)?
/home/[^/]+/.cache(/.*)?

cifs_t

(no default paths listed for this one, it's mysterious like that πŸ’€)

ecryptfs_t

/home/[^/]+/.Private(/.*)?
/home/[^/]+/.ecryptfs(/.*)?

fusefs_t

/run/user/[0-9]+/gvfs

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

nfs_t

(also no default paths listed β€” another mysterious icon πŸ¦‹)


πŸ› οΈ 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. yes bestie, a GUI, for when the terminal vibes are too much πŸ–±οΈβœ¨

πŸ–ŠοΈ AUTHOR

This manual page was auto-generated using sepolicy manpage. a bot wrote this, and honestly? slay πŸ€–πŸ’…


πŸ‘€ SEE ALSO

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


and that's the whole page, bestie πŸŽ€ this lil rewrite is brought to you by staff_ssh_agent, dated 26-10-06, living under the manual name staff_ss...t_selinux(8) β€” go forth and be secure, mwah πŸ’–πŸ”₯

πŸ“¦ where this page comes from