Merge pull request from dsugar100/utempter_fix

Updates for utempter
This commit is contained in:
Chris PeBenito 2023-09-11 09:05:54 -04:00 committed by GitHub
commit 8ffc5e7246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions
policy/modules/system

View File

@ -22,6 +22,9 @@
/usr/lib/([^/]+/)?utempter/utempter -- gen_context(system_u:object_r:utempter_exec_t,s0)
ifdef(`distro_redhat', `
/usr/libexec/utempter/utempter -- gen_context(system_u:object_r:utempter_exec_t,s0)
')
/usr/libexec/chkpwd/tcb_chkpwd -- gen_context(system_u:object_r:chkpwd_exec_t,s0)
/usr/sbin/pam_console_apply -- gen_context(system_u:object_r:pam_console_exec_t,s0)

View File

@ -450,6 +450,7 @@ optional_policy(`
optional_policy(`
xserver_use_xdm_fds(utempter_t)
xserver_rw_xdm_pipes(utempter_t)
xserver_write_inherited_xsession_log(utempter_t)
')
#######################################