samba_u...selinux(8)
π samba_unconfined_net_selinux(8) β the glow-up
okay so bestie, welcome to the samba_unconfined_net_selinux manual page π it lives in section 8 of the SELinux Policy samba_unconfined_net manual, and we're gonna get you all caught up on what this policy actually does.
β¨ NAME β¨
samba_unconfined_net_selinux β the whole Security Enhanced Linux policy sitch for the samba_unconfined_net processes π«Ά
πΈ DESCRIPTION πΈ
Security-Enhanced Linux keeps the samba_unconfined_net processes in check via flexible mandatory access control. like, it's not vibes-based security, it's policy-based security β¨
The samba_unconfined_net processes run with the samba_unconfined_net_t SELinux type. Wanna check if you've got any of these running? Just run ps with the -Z qualifier, periodt:
ps -eZ | grep samba_unconfined_net_t
π¦ ENTRYPOINTS π¦
The samba_unconfined_net_t SELinux type can be entered via the samba_net_exec_t file type. that's the door, iykyk πͺ
The default entrypoint paths for the samba_unconfined_net_t domain are literally just:
/usr/bin/net
π PROCESS TYPES π
SELinux defines process types (aka domains) for every process running on the system β yes, every one, main character energy for all of them π
You can peep the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. The SELinux samba_unconfined_net policy is very flexible, letting users set up their samba_unconfined_net processes in as secure a method as possible π₯
So here's the process type defined for samba_unconfined_net:
samba_unconfined_net_t
Note:semanage permissive -a samba_unconfined_net_tcan be used to make the process typesamba_unconfined_net_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 be watching π
π BOOLEANS π
SELinux policy is customizable based on least access required. The samba_unconfined_net policy is extremely flexible and has several booleans that let you manipulate the policy and run samba_unconfined_net with the tightest access possible. tiny little switches, huge consequences π
the booleans, one by one π
deny_execmemβ turn this on if you want to deny user domains applications the ability to map a memory region as both executable and writable. ngl this is dangerous, and the executable should be reported in bugzilla π Disabled by default.
setsebool -P deny_execmem 1
mmap_low_allowedβ turn this on if you want to control the ability tommapa low area of the address space, as configured by/proc/sys/vm/mmap_min_addr. Disabled by default.
setsebool -P mmap_low_allowed 1
secure_mode_insmodβ turn this on if you want to disable kernel module loading. Disabled by default.
setsebool -P secure_mode_insmod 1
selinuxuser_execheapβ allows 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. Disabled by default.
setsebool -P selinuxuser_execheap 1
selinuxuser_execstackβ allows 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. Disabled by default.
setsebool -P selinuxuser_execstack 1
π MANAGED FILES π
The SELinux process type samba_unconfined_net_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. also heads up: the process's UID still needs to have DAC permissions, so don't get it twisted π«Ά
file_type- all files on the system π like, all of them
β COMMANDS β
here's your toolbelt, bestie β go off:
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. yes, a GUI, for the mouse girlies π±οΈβ¨
π AUTHOR π
This manual page was auto-generated using sepolicy manpage. the robots did this one, not me π€π
π SEE ALSO π
selinux(8), samba_unconfined_net(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
and that's the whole page, bestie π
little sign-off from the footer: samba_unconfined_net, dated 26-10-06, living at samba_u...selinux(8). slay, go secure your processes πβ¨
π¦ 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