Question 1
SecurityWhat role does polkit play on a Linux system?
Show the answer
Correct answerA. It decides whether an unprivileged process may perform a privileged action, such as mounting a disk
AWhy this is right: polkit is an authorization framework that allows, denies or asks for authentication for privileged actions.
BWhy not this: Directory authentication is done by PAM with SSSD, LDAP or Kerberos; polkit only authorizes actions.
CWhy not this: Mandatory access control labels are enforced by SELinux or AppArmor, not polkit.
DWhy not this: Granting root shells from a rules file describes sudo and sudoers, not polkit.
Polkit is an authorization framework: it evaluates rules to allow, deny or require authentication for privileged actions, such as a desktop user mounting a disk or managing a systemd unit. Directory-based authentication is handled by other services such as PAM with SSSD, LDAP or Kerberos.