Description
Non-interactive polkit authentication agent that answers PAM prompts from a file descriptor.
Registers a per-process polkit authentication agent for a wrapped command and answers the PAM conversation from a file descriptor instead of /dev/tty, giving run0 / systemd-run the same "password on stdin" ergonomics as sudo --stdin.
Used by nixos-rebuild --elevate=run0 --ask-elevate-password to authenticate on a target host over SSH without allocating a TTY.