key2root

Description: Authenticate with keyfile and run a process as root
Status: Complete
Source: https://git.maandree.se/key2root
Latest release: 1.0.1
License: ISC License (Internet Systems Consortium license)
Written in: C (ISO C99)

The key2root utility takes a keyfile from the standard input and uses it to authenticate the user, and if the keyfile is recognised, runs the specified command with sanitised and updated environment variables and with the keyfile as the standard input.