sysadm_s..._selinux(8)
πΈ 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_tcan be used to make the process typesysadm_ssh_agent_tpermissive. 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 fcontextcan also be used to manipulate default file context mappings.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.
π 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
- 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