MyNixOS website logo
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.

Metadata

Version

0.3.0

License

Maintainers (1)

Platforms (19)

    Linux
Show all
  • aarch64-linux
  • armv5tel-linux
  • armv6l-linux
  • armv7a-linux
  • armv7l-linux
  • i686-linux
  • loongarch64-linux
  • m68k-linux
  • mips-linux
  • mips64-linux
  • mips64el-linux
  • mipsel-linux
  • powerpc-linux
  • powerpc64-linux
  • powerpc64le-linux
  • riscv32-linux
  • riscv64-linux
  • s390x-linux
  • x86_64-linux