xguest_g..._selinux(8)

πŸ“¦
version 20250627+git412.dbf877ab7 Β· 7 versions
, in opensuse-leap 16.0

okay so welcome to xguest_g..._selinux(8), bestie β€” this is the SELinux policy manual for the xguest_gkeyringd processes, and it’s lowkey important πŸ’…


πŸ’– NAME πŸ’–

xguest_gkeyringd_selinux β€” Security Enhanced Linux Policy for the xguest_gkeyringd processes πŸŽ€

✨ DESCRIPTION ✨

Security-Enhanced Linux secures the xguest_gkeyringd processes via flexible mandatory access control. It’s giving β€œbouncer at the club, but for syscalls and files” energy, no cap.

The xguest_gkeyringd processes execute with the xguest_gkeyringd_t SELinux type. You can check if you have these processes running by executing the ps command with the -Z qualifier.

For example:

ps -eZ | grep xguest_gkeyringd_t

πŸšͺ ENTRYPOINTS πŸšͺ

The xguest_gkeyringd_t SELinux type can be entered via the gkeyringd_exec_t file type.

The default entrypoint paths for the xguest_gkeyringd_t domain are literally these:

  • /usr/bin/mate-keyring-daemon
  • /usr/bin/gnome-keyring-daemon

πŸ‘‘ PROCESS TYPES πŸ‘‘

SELinux defines process types (domains) for each process running on the system, periodt.

You can see the context of a process using the -Z option to ps.

Policy governs the access confined processes have to files. SELinux xguest_gkeyringd policy is very flexible, allowing users to setup their xguest_gkeyringd processes in as secure a method as possible.

The following process types are defined for xguest_gkeyringd:

  • xguest_gkeyringd_t
Note: semanage permissive -a xguest_gkeyringd_t can be used to make the process type xguest_gkeyringd_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. So it’s not a β€œno consequences” button, iykyk 😭

πŸŽ€ BOOLEANS πŸŽ€

SELinux policy is customizable based on least access required. xguest_gkeyringd policy is extremely flexible and has several booleans that allow you to manipulate the policy and run xguest_gkeyringd with the tightest access possible.

  • fips_mode β€” 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
  • nis_enabled β€” 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

πŸ—‚οΈ MANAGED FILES πŸ—‚οΈ

The SELinux process type xguest_gkeyringd_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 is not out here bypassing that, bestie.

cache_home_t

/root/.cache(/.*)?
/home/[^/]+/.nv(/.*)?
/home/[^/]+/.cache(/.*)?

cifs_t

No default paths are listed for this file type on this page.

config_home_t

/root/.kde(/.*)?
/root/.xine(/.*)?
/root/.config(/.*)?
/root/.Xdefaults
/home/[^/]+/.kde(/.*)?
/home/[^/]+/.xine(/.*)?
/home/[^/]+/.config(/.*)?
/home/[^/]+/.cache/dconf(/.*)?
/home/[^/]+/.Xdefaults
/run/user/[0-9]+/dconf(/.*)?

ecryptfs_t

/home/[^/]+/.Private(/.*)?
/home/[^/]+/.ecryptfs(/.*)?

fusefs_t

/run/user/[0-9]+/gvfs

gkeyringd_gnome_home_t

/root/.gnome2/keyrings(/.*)?
/home/[^/]+/.gnome2/keyrings(/.*)?
/home/[^/]+/.local/share/keyrings(/.*)?

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

nfs_t

No default paths are listed for this file type on this page.

πŸ› οΈ 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.

πŸ’Œ AUTHOR πŸ’Œ

This manual page was auto-generated using sepolicy manpage .

🌈 SEE ALSO 🌈

selinux(8), xguest_gkeyringd(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8) β€” that’s the whole reference squad, bestie 🫢


mwah πŸ’‹ this page comes from the xguest_gkeyringd source, dated 26-10-06, and it’s the xguest_g..._selinux(8) manual. bye bestie, go check those contexts ✨

πŸ“¦ where this page comes from