sysadm_passwd_selinux(8)
π sysadm_passwd_selinux(8) β the manual page, but make it make sense π
okay bestie, pull up a chair because we're talking about sysadm_passwd_selinux β the Security Enhanced Linux Policy for the sysadm_passwd processes. no cap, this is important stuff and you're gonna understand it. periodt. β¨
πΈ NAME πΈ
okay so sysadm_passwd_selinux is literally the Security Enhanced Linux Policy for the sysadm_passwd processes. that's the whole vibe. π
π¦ DESCRIPTION π¦
Security-Enhanced Linux secures the sysadm_passwd processes via flexible mandatory access control. iconic behavior, honestly.
The sysadm_passwd processes execute with the sysadm_passwd_t SELinux type. you can check if you have these processes running by executing the ps command with the -Z qualifier. iykyk.
for example:
ps -eZ | grep sysadm_passwd_t
slay. run it and see what's up. π
β¨ ENTRYPOINTS β¨
The sysadm_passwd_t SELinux type can be entered via the admin_passwd_exec_t file type. that's the doorway, bestie. πͺ
the default entrypoint paths for the sysadm_passwd_t domain are the following:
/usr/bin/vigr/usr/bin/vipw/usr/bin/pwconv/usr/bin/grpconv/usr/bin/pwunconv/usr/bin/grpunconv
those are the exact vibes. don't lose them. π«Ά
π₯ PROCESS TYPES π₯
SELinux defines process types (domains) for each process running on the system. main character energy for every single process, honestly.
you can see the context of a process using the -Z option to ps. simple as that.
Policy governs the access confined processes have to files. SELinux sysadm_passwd policy is very flexible allowing users to setup their sysadm_passwd processes in as secure a method as possible. so secure. so flexible. we love to see it. π
the following process types are defined for sysadm_passwd:
sysadm_passwd_t
Note:semanage permissive -a sysadm_passwd_tcan be used to make the process typesysadm_passwd_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it's not a free pass, it just changes the vibe of the denial. π
π§ BOOLEANS π§
SELinux policy is customizable based on least access required. sysadm_passwd policy is extremely flexible and has several booleans that allow you to manipulate the policy and run sysadm_passwd with the tightest access possible. tightest access = bestie behavior. π
- if you want to allow all domains to execute in fips_mode, you must turn on the
fips_modeboolean. Enabled by default. slay, it's already on.
setsebool -P fips_mode 1
- if you want to allow system to run with NIS, you must turn on the
nis_enabledboolean. Disabled by default. so like, off by default. turn it on if you need it.
setsebool -P nis_enabled 1
π MANAGED FILES π
The SELinux process type sysadm_passwd_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. don't forget that part, bestie. π
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
security_t
/selinux
shadow_t
/etc/tcb/.+/shadow.*/etc/shadow.*/etc/gshadow.*/etc/nshadow.*/var/db/shadow.*/etc/security/opasswd/etc/security/opasswd.old
sysadm_passwd_tmp_t
(no default paths listed, but it's still a managed type, okay? it exists. it's valid. periodt. π )
π COMMANDS π
semanage fcontext can also be used to manipulate default file context mappings. okay so that's your go-to for file context stuff.
semanage permissive can also be used to manipulate whether or not a process type is permissive. vibe check for permissive modes. πΈ
semanage module can also be used to enable/disable/install/remove policy modules. modular realness.
semanage boolean can also be used to manipulate the booleans. flipping booleans like it's nothing. β¨
system-config-selinux is a GUI tool available to customize SELinux policy settings. for when you want the clicky-clicky experience. π±οΈ
π AUTHOR π
This manual page was auto-generated using sepolicy manpage. not me being auto-generated and still serving looks. π
π SEE ALSO π
selinux(8)sysadm_passwd(8)semanage(8)restorecon(8)chcon(1)sepolicy(8)setsebool(8)
like, go read those too if you want the full picture. bestie homework. π
and that's the whole page, bestie. you ate this up and understood every bit of it. no cap. this manual page is from 26-10-06 and it's the sysadm_passwd_selinux(8) version β iconic date, iconic page. now go forth and manage those processes like the main character you are. πβ¨ππ¦πΈπ
π«Άππ₯ππβππππ§π
π¦ 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