nx_server_ssh_selinux(8)
π
nx_server_ssh_selinux(8) β the SELinux policy for nx_server_ssh processes β¨
okay so bestie, welcome to the manual page for nx_server_ssh_selinux, aka the SELinux policy hangout spot for your nx_server_ssh processes. yes this is the nx_server_ssh_selinux(8) page, and yes we're gonna get through it together π«Ά
πΈ NAME πΈ
nx_server_ssh_selinux β the Security Enhanced Linux Policy for the nx_server_ssh processes. that's it, that's the whole name section, luv u π
β¨ DESCRIPTION β¨
Security-Enhanced Linux secures the nx_server_ssh processes via flexible mandatory access control. very demure, very mindful, very mandatory π
The nx_server_ssh processes execute with the nx_server_ssh_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 nx_server_ssh_t
π¦ ENTRYPOINTS π¦
The nx_server_ssh_t SELinux type can be entered via the ssh_exec_t file type. that's the doorway, the entrypoint, the main character entrance π
the default entrypoint paths for the nx_server_ssh_t domain are literally these:
/usr/bin/ssh, /usr/libexec/nm-ssh-service
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system. so every process gets its own little vibe check π§
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 nx_server_ssh policy is very flexible, allowing users to setup their nx_server_ssh processes in as secure a method as possible. flexible AND secure, we love a multitasker π
the following process types are defined for nx_server_ssh:
nx_server_ssh_t
note:semanage permissive -a nx_server_ssh_tcan be used to make the process typenx_server_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 it but it's still taking notes ππ
π BOOLEANS π
SELinux policy is customizable based on least access required. nx_server_ssh policy is extremely flexible and has several booleans that allow you to manipulate the policy and run nx_server_ssh with the tightest access possible. tighten it up, slay π₯
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 nx_server_ssh_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. note that the process's UID still needs to have DAC permissions β SELinux is not out here doing DAC's job for it, okay? π
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
π§° COMMANDS π§°
semanage fcontext can also be used to manipulate default file context mappings. (okay the original says semanage fcontext β go off, semanage β¨)
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. it does it all, icon behaviour honestly π
semanage boolean can also be used to manipulate the booleans.
system-config-selinux is a GUI tool available to customize SELinux policy settings. GUI girlies, this one's for you π
π AUTHOR π
This manual page was auto-generated using sepolicy manpage .
(the robot wrote it, not me, no cap π€)
π SEE ALSO π
selinux(8)nx_server_ssh(8)semanage(8)restorecon(8)chcon(1)sepolicy(8)setsebool(8)
and that's the whole page bestie, you ate that π«Άπ this lil sign-off comes to you from nx_server_ssh, dated 26-10-06 β nx_server_ssh_selinux(8), periodt. πΈβ¨
π¦ 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