locallogin: Grant local_login_t the dac_read_search capability

It already has dac_override, and depending on the pam modules being
used, this may actually be neccessary. Due to the 4.13 changes, I'm now
getting dac_read_search denials.
This commit is contained in:
Luis Ressel 2017-11-15 08:10:14 +01:00 committed by Chris PeBenito
parent 3f6d37aec9
commit ec9999a499
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ role system_r types sulogin_t;
# Local login local policy
#
allow local_login_t self:capability { chown dac_override fowner fsetid kill setgid setuid sys_nice sys_resource sys_tty_config };
allow local_login_t self:capability { chown dac_read_search dac_override fowner fsetid kill setgid setuid sys_nice sys_resource sys_tty_config };
dontaudit local_login_t self:capability net_admin;
allow local_login_t self:process { setexec setrlimit setsched };
allow local_login_t self:fd use;