sysadm_screen_selinux(8)
π sysadm_screen_selinux β the manual page, but make it make sense
okay so bestie, this is the sysadm_screen_selinux(8) page β Security-Enhanced Linux policy for the sysadm_screen processes. yes it's a mouthful, no you're not dumb, we're getting through it together π«Ά
β¨ NAME β¨
sysadm_screen_selinux β Security Enhanced Linux Policy for the sysadm_screen processes π
πΈ DESCRIPTION πΈ
Security-Enhanced Linux secures the sysadm_screen processes via flexible mandatory access control. that's the whole vibe: SELinux is the strict friend who checks your outfit before you leave the house π₯
The sysadm_screen processes execute with the sysadm_screen_t SELinux type. You can check if you have these processes running by executing the ps command with the -Z qualifier. literally just peek at the vibes:
ps -eZ | grep sysadm_screen_t
π¦ ENTRYPOINTS π¦
The sysadm_screen_t SELinux type can be entered via the screen_exec_t file type. that's the door, bestie πͺβ¨
The default entrypoint paths for the sysadm_screen_t domain are the following:
/usr/bin/tmux
/usr/bin/screen
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system. main character energy for every process, honestly.
You can see the context of a process using the -Z option to ps. periodt.
Policy governs the access confined processes have to files. SELinux sysadm_screen policy is very flexible, allowing users to setup their sysadm_screen processes in as secure a method as possible. flexible and secure, we love a multitasker π
The following process types are defined for sysadm_screen:
sysadm_screen_t
Note:semanage permissive -a sysadm_screen_tcan be used to make the process typesysadm_screen_tpermissive. 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 in the group chat talking about it π
π BOOLEANS π
SELinux policy is customizable based on least access required. sysadm_screen policy is extremely flexible and has several booleans that allow you to manipulate the policy and run sysadm_screen with the tightest access possible. tightest access possible, we're being responsible besties π§
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
If you want to determine whether screen can use fsetid/setuid/setgid capability, you must turn on the screen_allow_session_sharing boolean. Disabled by default.
setsebool -P screen_allow_session_sharing 1
If you want to support NFS home directories, you must turn on the use_nfs_home_dirs boolean. Enabled by default.
setsebool -P use_nfs_home_dirs 1
If you want to support SAMBA home directories, you must turn on the use_samba_home_dirs boolean. Disabled by default.
setsebool -P use_samba_home_dirs 1
π MANAGED FILES π
The SELinux process type sysadm_screen_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. yes, SELinux said "you still need DAC permission", she's not doing everything for you π
faillog_t
/var/log/btmp.*
/run/faillock(/.*)?
/var/log/faillog.*
/var/log/tallylog.*
initrc_var_run_t
/run/sysconfig(/.*)?
/run/utmp
/run/keymap
/run/numlock-on
/run/setleds-on
/run/runlevel.dir
/run/setmixer_flag
/run/bootsplashctl
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
user_tmp_type
- all user tmp files
π 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 when you're feeling lowkey fancy β¨
π AUTHOR π
This manual page was auto-generated using sepolicy manpage .
β SEE ALSO β
selinux(8)sysadm_screen(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_screen, dated 26-10-06, and it's literally the sysadm_screen_selinux(8) manual. go forth and be secure ππ¦π
π¦ 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