Skip to contentSkip to conversation

logind shadow access

DISCUSSION Russell Coker 2 participants 2 messages Apr 8, 2020

lore
Share & tools
lore
#0 lore raw
# audit2allow -l < /var/log/audit/audit.log |tail -1
allow systemd_logind_t shadow_t:file read;

Is there any good reason why systemd_logind might need to access /etc/shadow?

Signature · 2 lines
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
#1 lore raw
Quoted 5 lines · Russell Coker
# audit2allow -l < /var/log/audit/audit.log |tail -1
allow systemd_logind_t shadow_t:file read;

Is there any good reason why systemd_logind might need to access /etc/shadow?

For account enable/disable state and so on: https://github.com/systemd/systemd/issues/15105.

-Topi