sysadm_s..._selinux(8)

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

🌸 sysadm_s..._selinux(8) 🌸

okay bestie, welcome to the sysadm_s..._selinux(8) page β€” it's literally the SELinux Policy page for sysadm_ssh_agent, and yes the title is abbreviated like that, she's mysterious, we respect it πŸ’…


✨ NAME ✨

sysadm_ssh_agent_selinux β€” the Security Enhanced Linux Policy for the sysadm_ssh_agent processes 🫢


πŸŽ€ DESCRIPTION πŸŽ€

Security-Enhanced Linux secures the sysadm_ssh_agent processes via flexible mandatory access control. no cap, that's the whole vibe β€” flexible, mandatory, access control πŸ’–

The sysadm_ssh_agent processes execute with the sysadm_ssh_agent_t SELinux type. Wanna check if you've got these processes running? Just run the ps command with the -Z qualifier, easy.

For example:

ps -eZ | grep sysadm_ssh_agent_t

πŸ¦‹ ENTRYPOINTS πŸ¦‹

The sysadm_ssh_agent_t SELinux type can be entered via the ssh_agent_exec_t file type. that's the door, bestie πŸšͺ✨

The default entrypoint paths for the sysadm_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 β€” one for everybody, main character energy for each πŸ”₯

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

Policy governs the access confined processes have to files. The SELinux sysadm_ssh_agent policy is very flexible, allowing users to setup their sysadm_ssh_agent processes in as secure a method as possible.

The following process types are defined for sysadm_ssh_agent:

  • sysadm_ssh_agent_t
Note: semanage permissive -a sysadm_ssh_agent_t can be used to make the process type sysadm_ssh_agent_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so she's chill about it but she's still taking notes πŸ“πŸ’€

🌈 BOOLEANS 🌈

SELinux policy is customizable based on least access required. The sysadm_ssh_agent policy is extremely flexible and has several booleans that allow you to manipulate the policy and run sysadm_ssh_agent with the tightest access possible. obsessed with the restraint honestly ✨

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 sysadm_ssh_agent_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 ain't doing that part for you, bestie πŸ™ˆ

cache_home_t

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

cifs_t

(no default paths listed for this one, she's just here 🌸)

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, she's mysterious like that 🧚)


⭐ 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.

πŸ“ AUTHOR πŸ“

This manual page was auto-generated using sepolicy manpage. slay, it wrote itself πŸ’…βœ¨


πŸ” SEE ALSO πŸ”

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


and that's the whole page, bestie!! 🌈 this cutie was brought to you by sysadm_ssh_agent (the source side of things πŸ’–) and dated 26-10-06 β€” the sysadm_s..._selinux(8) manual, signing off πŸŽ€πŸ’œ

πŸ“¦ where this page comes from