samba_dcerpcd_selinux(8)
π
samba_dcerpcd_selinux(8) β the SELinux policy page for samba_dcerpcd, bestie edition π
okay so this is the manual page for samba_dcerpcd_selinux, section 8 of the manual, and it's all about the SELinux policy that wraps around the samba_dcerpcd processes. yes it's long. no I'm not skipping anything. grab a strawberry drink π and let's go.
β¨ NAME β¨
samba_dcerpcd_selinux β the Security Enhanced Linux Policy for the samba_dcerpcd processes. literally that's it, that's the whole name section, she's simple, she's iconic π
πΈ DESCRIPTION πΈ
Security-Enhanced Linux secures the samba_dcerpcd processes via flexible mandatory access control. mandatory, bestie β not the vibes-based kind, the enforced kind π
The samba_dcerpcd processes execute with the samba_dcerpcd_t SELinux type. wanna check if you've got these processes running? run ps with the -Z qualifier.
for example:
ps -eZ | grep samba_dcerpcd_t
that's the whole vibe check right there π
π¦ ENTRYPOINTS π¦
so the samba_dcerpcd_t SELinux type can be entered via the samba_dcerpcd_exec_t file type. that's the doorway, the portal, the main character entrance πͺβ¨
the default entrypoint paths for the samba_dcerpcd_t domain are the following:
/usr/lib/samba/rpcd_lsad, /usr/lib/samba/samba-dcerpcd
two paths. no cap. π₯
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system. yes, each one, she's thorough π
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 samba_dcerpcd policy is very flexible, allowing users to setup their samba_dcerpcd processes in as secure a method as possible. flexible and secure? she ate. π
The following process types are defined for samba_dcerpcd:
samba_dcerpcd_t
Note:semanage permissive -a samba_dcerpcd_tcan be used to make the process typesamba_dcerpcd_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated.
so like, permissive means she stops saying no, but she does keep receipts. the AVC messages never stop. iykyk π
π₯ BOOLEANS π₯
SELinux policy is customizable based on least access required. the samba_dcerpcd policy is extremely flexible and has several booleans that allow you to manipulate the policy and run samba_dcerpcd with the tightest access possible. tightest access = the most locked-down 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
If you want to allow samba to act as the domain controller, add users, groups and change passwords, you must turn on the samba_domain_controller boolean. Disabled by default.
setsebool -P samba_domain_controller 1
If you want to allow samba and winbind-rpcd to share users home directories, you must turn on the samba_enable_home_dirs boolean. Disabled by default.
setsebool -P samba_enable_home_dirs 1
If you want to allow samba to share any file/directory read only, you must turn on the samba_export_all_ro boolean. Disabled by default.
setsebool -P samba_export_all_ro 1
If you want to allow samba to share any file/directory read/write, you must turn on the samba_export_all_rw boolean. Disabled by default.
setsebool -P samba_export_all_rw 1
that's six booleans, all accounted for, all disabled by default except fips_mode which is living her best enabled life π
π§ MANAGED FILES π§
The SELinux process type samba_dcerpcd_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 said "i'll handle the labels, you handle the perms" π€
faillog_t
/var/log/btmp.*
/run/faillock(/.*)?
/var/log/faillog.*
/var/log/tallylog.*
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
non_security_file_type
(no paths listed, she's just here for the vibe β¨)
noxattrfs
all files on file systems which do not support extended attributes
samba_bgqd_var_run_t
/run/samba-bgqd.pid
samba_dcerpcd_tmp_t
(no paths listed for this one either π)
samba_dcerpcd_var_run_t
/run/samba/samba-dcerpcd.pid
samba_log_t
/var/log/samba(/.*)?
samba_share_t
use this label for random content that will be shared using samba π that's the actual description and honestly? iconic. "random content" is such a mood.
smbd_tmp_t
(no paths listed)
user_home_type
all user home files
winbind_var_run_t
/run/winbindd(/.*)?
/run/samba/winbindd(/.*)?
/var/lib/samba/winbindd_privileged(/.*)?
/var/cache/samba/winbindd_privileged(/.*)?
π FILE CONTEXTS π
SELinux requires files to have an extended attribute to define the file type. yes, files have labels now, we love a labeled file π·οΈ
You can see the context of a file using the -Z option to ls.
Policy governs the access confined processes have to these files. the SELinux samba_dcerpcd policy is very flexible, allowing users to setup their samba_dcerpcd processes in as secure a method as possible.
π«Ά STANDARD FILE CONTEXT
SELinux defines the file context types for the samba_dcerpcd. if you wanted to store files with these types in a different paths, you need to execute the semanage command to specify alternate labeling and then use restorecon to put the labels on disk.
semanage fcontext -a -t samba_dcerpcd_exec_t
'/srv/samba_dcerpcd/content(/.*)?'
restorecon -R -v /srv/mysamba_dcerpcd_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies rise π
The following file types are defined for samba_dcerpcd:
samba_dcerpcd_exec_t
- Set files with the
samba_dcerpcd_exec_ttype, if you want to transition an executable to thesamba_dcerpcd_tdomain.
Paths:
/usr/lib/samba/rpcd_lsad, /usr/lib/samba/samba-dcerpcd
samba_dcerpcd_tmp_t
- Set files with the
samba_dcerpcd_tmp_ttype, if you want to store samba dcerpcd temporary files in the/tmpdirectories.
samba_dcerpcd_var_run_t
- Set files with the
samba_dcerpcd_var_run_ttype, if you want to store the samba dcerpcd files under the/runor/var/rundirectory.
Note: file context can be temporarily modified with thechconcommand. If you want to permanently change the file context you need to use thesemanage fcontextcommand. This will modify the SELinux labeling database. You will need to userestoreconto apply the labels.
so: chcon = temporary glow-up π«, semanage fcontext = permanent, database-committed glow-up π
β 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 GUI!! for when you want to click instead of type π±οΈβ¨
π AUTHOR π
This manual page was auto-generated using sepolicy manpage .
(yes, auto-generated, and yet here she is, serving looks π)
π SEE ALSO π
selinux(8), samba_dcerpcd(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
go read those too, bestie, they're all interconnected, it's giving lore π¦
and that's the whole page!! π cute little sign-off: this was samba_dcerpcd from the samba_dcerpcd_selinux(8) manual, dated 26-10-06. 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