sap_uncon...d_selinux(8)
π sap_unconfined_selinux(8) π
okay bestie, this is the SELinux policy page for the sap_unconfined processes β part 1 of 2, and we're gonna get through every single path and boolean together. no skipping. π
π NAME π
sap_unconfined_selinuxβ Security Enhanced Linux Policy for thesap_unconfinedprocesses. that's the whole name vibe, periodt.
β¨ DESCRIPTION β¨
Security-Enhanced Linux secures the sap_unconfined processes via flexible mandatory access control. yes, the MAC daddy of access control. iconic. π
The sap_unconfined processes execute with the sap_unconfined_t SELinux type. wanna check if you have these processes running? execute the ps command with the -Z qualifier. easy.
For example:
ps -eZ | grep sap_unconfined_t
πͺ ENTRYPOINTS πͺ
The sap_unconfined_t SELinux type can be entered via the sap_exec_t file type.
The default entrypoint paths for the sap_unconfined_t domain are the following β and bestie, this list is long, but every path matters. no cap:
/hana(/.*)?/regi, /hana(/.*)?/SAPCAR, /hana(/.*)?/fsperf,
/hana(/.*)?/hdbrss, /hana(/.*)?/hdbsql, /hana(/.*)?/sapcpe,
/hana(/.*)?/sldreg, /hana(/.*)?/hdbcons, /hana(/.*)?/ldapreg,
/hana(/.*)?/cleanipc, /hana(/.*)?/rsecssfx, /hana(/.*)?/sappfpar,
/hana(/.*)?/sapstart, /hana(/.*)?/wdispmon, /hana(/.*)?/hdbdaemon,
/hana(/.*)?/hdbgstack, /hana(/.*)?/hdbllangc, /hana(/.*)?/hdbnsutil,
/hana(/.*)?/hdbrsutil, /hana(/.*)?/sapgenpse, /hana(/.*)?/handlessfs,
/hana(/.*)?/hdbeuspack, /hana(/.*)?/hdblogdiag, /hana(/.*)?/hdbmdcutil,
/hana(/.*)?/hdbsdautil, /hana(/.*)?/hdbsrvutil, /hana(/.*)?/icmbnd.new,
/hana(/.*)?/ldappasswd, /hana(/.*)?/sapcontrol, /hana(/.*)?/hdbdiserver,
/hana(/.*)?/hdbdocstore, /hana(/.*)?/hdbdpserver,
/hana(/.*)?/hdbkeystore, /hana(/.*)?/hdbpersdiag,
/hana(/.*)?/hdbwlviewer, /hana(/.*)?/hdbxsengine,
/hana(/.*)?/sapstartsrv, /hana(/.*)?/hdbodbc_cons,
/hana(/.*)?/hdbuserstore, /hana(/.*)?/sapuxuserchk,
/hana(/.*)?/hdbbackupdiag, /hana(/.*)?/hdbltracediag,
/hana(/.*)?/hdbnameserver, /hana(/.*)?/hdbwlanalyzer,
/hana(/.*)?/hdbwlarchiver, /hana(/.*)?/hdbwlreplayer,
/hana(/.*)?/hdbbackupcheck, /hana(/.*)?/hdbindexserver,
/hana(/.*)?/hdbsqldbc_cons, /hana(/.*)?/hdbpreprocessor,
/hana(/.*)?/hdbscriptserver, /hana(/.*)?/hdbcompileserver,
/hana(/.*)?/hdbcomputeserver, /hana(/.*)?/hdbwebdispatcher,
/hana(/.*)?/hdbbackupdiagpack, /hana(/.*)?/hdbsqlmigratorcli,
/hana(/.*)?/hdbwlpreprocessor, /hana(/.*)?/hdbbackupcheckpack,
/hana(/.*)?/hdbstatisticsserver, /usr/sap(/.*)?/exe/tp,
/usr/sap(/.*)?/exe/R3ta, /usr/sap(/.*)?/exe/enqt,
/usr/sap(/.*)?/exe/evtd, /usr/sap(/.*)?/exe/gwrd,
/usr/sap(/.*)?/exe/semd, /usr/sap(/.*)?/exe/shmd,
/usr/sap(/.*)?/exe/dpmon, /usr/sap(/.*)?/exe/emmon,
/usr/sap(/.*)?/exe/esmon, /usr/sap(/.*)?/exe/estst,
/usr/sap(/.*)?/exe/gwmon, /usr/sap(/.*)?/exe/icman,
/usr/sap(/.*)?/exe/icmon, /usr/sap(/.*)?/exe/jcmon,
/usr/sap(/.*)?/exe/jsmon, /usr/sap(/.*)?/exe/lgtst,
/usr/sap(/.*)?/exe/msmon, /usr/sap(/.*)?/exe/R3load,
/usr/sap(/.*)?/exe/SAPCAR, /usr/sap(/.*)?/exe/eg2mon,
/usr/sap(/.*)?/exe/em2mon, /usr/sap(/.*)?/exe/ensmon,
/usr/sap(/.*)?/exe/es2mon, /usr/sap(/.*)?/exe/jstart,
/usr/sap(/.*)?/exe/mdxsvr, /usr/sap(/.*)?/exe/msprot,
/usr/sap(/.*)?/exe/niping, /usr/sap(/.*)?/exe/sapcpe,
/usr/sap(/.*)?/exe/sapevt, /usr/sap(/.*)?/exe/sapftp,
/usr/sap(/.*)?/exe/sapxpg, /usr/sap(/.*)?/exe/sldreg,
/usr/sap(/.*)?/exe/R3check, /usr/sap(/.*)?/exe/R3ldctl,
/usr/sap(/.*)?/exe/R3szchk, /usr/sap(/.*)?/exe/R3trans,
/usr/sap(/.*)?/exe/db4cncl, /usr/sap(/.*)?/exe/jlaunch,
/usr/sap(/.*)?/exe/krnlreg, /usr/sap(/.*)?/exe/ldapreg,
/usr/sap(/.*)?/exe/libinfo, /usr/sap(/.*)?/exe/rfcexec,
/usr/sap(/.*)?/exe/sapexec, /usr/sap(/.*)?/exe/saphttp,
/usr/sap(/.*)?/exe/showipc, /usr/sap(/.*)?/exe/stopsap,
/usr/sap(/.*)?/exe/ccmsping, /usr/sap(/.*)?/exe/cleanipc,
/usr/sap(/.*)?/exe/dipgntab, /usr/sap(/.*)?/exe/enserver,
/usr/sap(/.*)?/exe/igspw_mt, /usr/sap(/.*)?/exe/igswd_mt,
/usr/sap(/.*)?/exe/jcontrol, /usr/sap(/.*)?/exe/ldap_rfc,
/usr/sap(/.*)?/exe/rscpf_db, /usr/sap(/.*)?/exe/rsecssfx,
/usr/sap(/.*)?/exe/rslglscs, /usr/sap(/.*)?/exe/rslgview,
/usr/sap(/.*)?/exe/rstrcscs, /usr/sap(/.*)?/exe/rstrfile,
/usr/sap(/.*)?/exe/rstrlscs, /usr/sap(/.*)?/exe/rstrsscs,
/usr/sap(/.*)?/exe/sapccm4x, /usr/sap(/.*)?/exe/sapccmsr,
/usr/sap(/.*)?/exe/sapiconv, /usr/sap(/.*)?/exe/saplikey,
/usr/sap(/.*)?/exe/sapmscsa, /usr/sap(/.*)?/exe/sapparar,
/usr/sap(/.*)?/exe/sappfpar, /usr/sap(/.*)?/exe/sapstack,
/usr/sap(/.*)?/exe/sapstart, /usr/sap(/.*)?/exe/startrfc,
/usr/sap(/.*)?/exe/startsap, /usr/sap(/.*)?/exe/wdispmon,
/usr/sap(/.*)?/exe/disp+work, /usr/sap(/.*)?/exe/enq_admin,
/usr/sap(/.*)?/exe/igsmux_mt, /usr/sap(/.*)?/exe/ipclimits,
/usr/sap(/.*)?/exe/memlimits, /usr/sap(/.*)?/exe/msclients,
/usr/sap(/.*)?/exe/sapdbmrfc, /usr/sap(/.*)?/exe/sapkprotp,
/usr/sap(/.*)?/exe/saprouter, /usr/sap(/.*)?/exe/setdb4pwd,
/usr/sap(/.*)?/exe/vscan_rfc, /usr/sap(/.*)?/exe/enq_server,
/usr/sap(/.*)?/exe/icmbnd.new, /usr/sap(/.*)?/exe/ldappasswd,
/usr/sap(/.*)?/exe/msg_server, /usr/sap(/.*)?/exe/sapcontrol,
/usr/sap(/.*)?/exe/sapevt_rfc, /usr/sap(/.*)?/exe/saplicense,
/usr/sap(/.*)?/exe/saproot.sh, /usr/sap(/.*)?/exe/sapwebdisp,
/usr/sap(/.*)?/exe/enrepserver, /usr/sap(/.*)?/exe/sapstartsrv,
/usr/sap(/.*)?/exe/ssfpkicheck, /usr/sap(/.*)?/exe/vmcexttimer,
/usr/sap(/.*)?hdbclient/hdbalm, /usr/sap(/.*)?hdbclient/rtt.sh,
/usr/sap(/.*)?/exe/jkit/bin/apt, /usr/sap(/.*)?/exe/jkit/bin/jar,
/usr/sap(/.*)?/exe/jkit/bin/jdb, /usr/sap(/.*)?/exe/sapuxuserchk,
/usr/sap(/.*)?/exe/getsapversion, /usr/sap(/.*)?/exe/jkit/bin/idlj,
/usr/sap(/.*)?/exe/jkit/bin/java, /usr/sap(/.*)?/exe/jkit/bin/orbd,
/usr/sap(/.*)?/exe/jkit/bin/rmic, /usr/sap(/.*)?/exe/jkit/bin/rmid,
/usr/sap(/.*)?/exe/sapsysinfo.sh, /usr/sap(/.*)?/exe/jkit/bin/javac,
/usr/sap(/.*)?/exe/jkit/bin/javah, /usr/sap(/.*)?/exe/jkit/bin/javap,
/usr/sap(/.*)?hdbclient/hdbalm.py, /usr/sap(/.*)?/exe/jkit/bin/javadoc,
/usr/sap(/.*)?/exe/jkit/bin/keytool,
/usr/sap(/.*)?/exe/jkit/bin/pack200,
/usr/sap(/.*)?/exe/jkit/bin/extcheck,
/usr/sap(/.*)?/exe/jkit/jre/bin/java,
/usr/sap(/.*)?/exe/jkit/jre/bin/orbd,
/usr/sap(/.*)?/exe/jkit/jre/bin/rmid,
/usr/sap(/.*)?hdbclient/hdbclienv.sh,
/usr/sap(/.*)?/exe/jkit/bin/jarsigner,
/usr/sap(/.*)?/exe/jkit/bin/serialver,
/usr/sap(/.*)?/exe/jkit/bin/tnameserv,
/usr/sap(/.*)?/exe/jkit/bin/unpack200,
/usr/sap(/.*)?/exe/jkit/bin/servertool,
/usr/sap(/.*)?hdbclient/scripts/hdbsql,
/usr/sap(/.*)?/exe/jkit/bin/rmiregistry,
/usr/sap(/.*)?/exe/jkit/jre/bin/keytool,
/usr/sap(/.*)?/exe/jkit/jre/bin/pack200,
/usr/sap(/.*)?/exe/jkit/bin/native2ascii,
/usr/sap(/.*)?/exe/jkit/jre/bin/tnameserv,
/usr/sap(/.*)?/exe/jkit/jre/bin/unpack200,
/usr/sap(/.*)?/exe/jkit/jre/bin/servertool,
/usr/sap(/.*)?/exe/jkit/jre/bin/rmiregistry,
/usr/sap(/.*)?hdbclient/scripts/hdbkeystore,
/hana/shared/[^/]+/HDB[^/]+/HDB, /usr/sap/sapservices.*,
/usr/sap/hostctrl/exe/.+, /usr/sap/H4C/HDB96/exe/.+,
/usr/sap/hostctrl/exe/http.monitor, /usr/sap/hostctrl/exe/sldreglib.so,
/usr/sap/hostctrl/exe/installsapinit.sh, /usr/sap/hostctrl/exe/lssap,
/usr/sap/hostctrl/exe/SAPCAR, /usr/sap/hostctrl/exe/sldreg,
/usr/sap/hostctrl/exe/ldapreg, /usr/sap/hostctrl/exe/sapcimb,
/usr/sap/hostctrl/exe/sapcimc, /usr/sap/hostctrl/exe/sapinit,
/usr/sap/hostctrl/exe/saphostv, /usr/sap/hostctrl/exe/saposcol,
/usr/sap/hostctrl/exe/sapdbctrl, /usr/sap/hostctrl/exe/ldappasswd,
/usr/sap/hostctrl/exe/sapcontrol, /usr/sap/hostctrl/exe/sapdsigner,
/usr/sap/hostctrl/exe/sapacosprep, /usr/sap/hostctrl/exe/saphostctrl,
/usr/sap/hostctrl/exe/saphostexec, /usr/sap/hostctrl/exe/sapstartsrv,
/usr/sap/hostctrl/exe/sapuxuserchk, /usr/sap/hostctrl/exe/hostexecstart,
/usr/sap/hostctrl/exe/convertoscolfilter,
/usr/sap/hostctrl/exe/sapuxusergetrtinfo
π§ PROCESS TYPES π§
SELinux defines process types (domains) for each process running on the system. love that for us.
You can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. SELinux sap_unconfined policy is very flexible allowing users to setup their sap_unconfined processes in as secure a method as possible. highkey iconic.
The following process types are defined for sap_unconfined:
sap_unconfined_t
Note:semanage permissive -a sap_unconfined_tcan be used to make the process typesap_unconfined_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it's chill but it's still logging. iykyk.
π BOOLEANS π
SELinux policy is customizable based on least access required. sap_unconfined policy is extremely flexible and has several booleans that allow you to manipulate the policy and run sap_unconfined with the tightest access possible. let's get into the switches, bestie.
daemons_dontaudit_schedulingβ if you want to dontaudit all daemons scheduling requests (setsched,sys_nice), you must turn on this boolean. Enabled by default.setsebool -P daemons_dontaudit_scheduling 1deny_execmemβ if you want to deny user domains applications to map a memory region as both executable and writable, this is dangerous and the executable should be reported in bugzilla, you must turn on this boolean. Disabled by default.setsebool -P deny_execmem 1mmap_low_allowedβ if you want to control the ability to mmap a low area of the address space, as configured by/proc/sys/vm/mmap_min_addr, you must turn on this boolean. Disabled by default.setsebool -P mmap_low_allowed 1sap_service_transition_to_unconfined_userβ if you want to allowunconfined_service_ttransition to the unconfined user domain, you must turn on this boolean. Disabled by default.setsebool -P sap_service_transition_to_unconfined_user 1secure_mode_insmodβ if you want to disable kernel module loading, you must turn on this boolean. Disabled by default.setsebool -P secure_mode_insmod 1selinuxuser_execheapβ if you want to allow unconfined executables to make their heap memory executable. doing this is a really bad idea. probably indicates a badly coded executable, but could indicate an attack. this executable should be reported in bugzilla, you must turn on this boolean. Disabled by default.setsebool -P selinuxuser_execheap 1selinuxuser_execstackβ if you want to allow unconfined executables to make their stack executable. this should never, ever be necessary. probably indicates a badly coded executable, but could indicate an attack. this executable should be reported in bugzilla, you must turn on this boolean. Disabled by default.setsebool -P selinuxuser_execstack 1
π¦ MANAGED FILES π¦
The SELinux process type sap_unconfined_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, DAC stays in the chat.
file_typeβ all files on the system. literally every file. main character energy fr fr. π
π COMMANDS π
okay so these are the little helper besties that can also do stuff for you, no cap:
semanage fcontextβ can also be used to manipulate default file context mappings. yes, the file-context side of things, she handles that πsemanage permissiveβ can also be used to manipulate whether or not a process type is permissive. like, you can flip a process type into permissive mode with this one π¦semanage moduleβ can also be used to enable/disable/install/remove policy modules. the whole module lifecycle, literally all four verbs, she ate π₯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 graphical interface for the people who like clicking, we respect it β¨
π«Ά AUTHOR π«Ά
This manual page was auto-generated using sepolicy manpage.
like, nobody hand-wrote this one bestie, the machine did it, and honestly? she understood the assignment π
π SEE ALSO π
go read these next, i'm obsessed with cross-referencing:
selinux(8), sap_unconfined(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
fr fr, if you only click one of these, start with sap_unconfined(8) β that's the main character of this whole situation π
okay that's the whole page, you made it to the end, i'm so proud of you ππ this one came from the sap_unconfined manual, dated 26-10-06 β so go forth, set some booleans, and slay your SELinux config. 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